latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Webhooks

Update a webhook

Updates a webhook subscription. PUT semantics: all fields must be provided. Returns the updated webhook.

put/webhooks/{webhookId}

Path parameters

webhookIdstring required

The ID of the Webhook

Request body

urlstring required

Target URL.

triggersstring[]
workflowIdstring

The ID of the Workflow.

taskIdstring

The ID of the Task.

Response

Example response

{
  "data": {
    "id": "pyvCWptkD0G1x08zOBtDGw",
    "createdBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "links": [
      {
        "href": "https://api.process.st/api/v1.1/resource/XXX"
      }
    ]
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}