Webhooks

Trigger a Capacity webhook from a 3rd-party event.

Trigger a Capacity webhook from a 3rd-party event. Returns a 200 if successful.

post/v1/webhooks

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Request body

servicestring required

The service triggering the webhook

trigger_event_typestring required

The event value that should trigger the webhook

attributesobject required

Dictionary of keys and values to passed to the webhook

Response

Example response

{
  "result": {
    "created_at": "2000-01-28"
  }
}

Changes

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