The Webhooks API allows you to subscribe for updates to events by registering your endpoint that will receive event notifications.
If webhook callout cannot be delivered because the endpoint was down, or for any other reason, it is retried multiple times for a period of at least one day.
Create a webhook to subscribe to a type of event.
Current retry behavior for webhooks (subject to change) is as follows:
Webhook has been created
Bad Request
Unauthorized
Conflict
Unprocessable Entity
{- "type": "string",
- "url": "string",
- "method": "POST",
- "authMethod": "BASIC_AUTH",
- "username": "string",
- "password": "string",
- "token": "string",
- "tokenHeader": "string"
}
{- "type": "string",
- "url": "string",
- "method": "POST",
- "authMethod": "BASIC_AUTH",
- "username": "string",
- "password": "string",
- "token": "string",
- "tokenHeader": "string",
- "id": 0
}
Get all webhooks currently registered and active.
List of webhook entries
Unauthorized
[- {
- "type": "string",
- "url": "string",
- "method": "POST",
- "authMethod": "BASIC_AUTH",
- "username": "string",
- "password": "string",
- "token": "string",
- "tokenHeader": "string",
- "id": 0
}
]
Get a specific webhook using the webhook identifier.
Webhook details
Unauthorized
A webhook with the webhook id provided was not found
{- "type": "string",
- "url": "string",
- "method": "POST",
- "authMethod": "BASIC_AUTH",
- "username": "string",
- "password": "string",
- "token": "string",
- "tokenHeader": "string",
- "id": 0
}
Delete a webhook that has been created.
Webhook has been deleted
Unauthorized
A webhook with the webhook id provided was not found
{- "status": 401,
- "type": "string",
- "title": "string",
- "detail": "string",
- "instance": "string",
- "code": 401,
- "message": "string"
}