Webhook Trigger – Baack docs
Webhook Trigger
Representation of a unique webhook trigger event
Endpoints
GET/n/v1/webhooktrigger/{urn}
Endpoint for webhook event trigger representation used to access the initiating trigger for webhook delivery.
Parameters
urn(path, required)- String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 200 OK
- returns Webhook Trigger
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/webhooktrigger/{urn}
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| owner | Company | Required on create. |
| subscriptions | array of Webhook Subscription | Ignored on update. |
| targetUrn | string (uuid) | |
| subject | string | Required on create. One of: |
| event | string | Required on create. One of: |
| timestamp | string (date-time) | |
| deliveries | array of any | Ignored on update. |
Used by: Webhook Event