webhooks

Create a webhook subscription (legacy route)

post/v1/workspaces/{workspaceId}/webhooks

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/workspaces/{workspaceId}/webhooks
  • Auth: HTTP bearer

Path parameters

workspaceIdstring required

Request body

urlstring required
secretstring required
eventsstring[] required

Events to subscribe to

Example request

{
  "url": "https://your-app.com/webhooks/tickets",
  "secret": "whsec_your_secret_key",
  "events": [
    "ticket.created",
    "ticket.updated",
    "comment.created"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.