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": "qK-Hh964K1xZJ8bTLKNK3A",
    "createdBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "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"
    }
  ]
}

Changes