Webhook Subscription – Baack docs
Webhook Subscription
Representation of a webhook subscription to listen for events supported by the given subject
Endpoints
GET/n/v1/webhooksubscription/{urn}
Webhook subscription endpoint which supports the management of subscriptions at scale.
Parameters
urn(path, required)- String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 200 OK
- returns Webhook Subscription
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/webhooksubscription/{urn}
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| apiClient | API Client | Required on create.Ignored on update. |
| auth | string | One of: |
| subject | string | Required on create. One of: |
| eventsPerMinute | integer (int32) | Required on create. |
| expirationTimestamp | string (date-time) | |
| destinationUrl | string (uri) | Required on create. Up to 1024 characters. |
| secret | string (password) | Required on create. |
| event | string | Required on create. One of: |
| url | string (uri) |
Used by: Webhook Event, Webhook Trigger