REST API Documentation
/core/webhooks
Create a webhook
This endpoint is only available for requests made using an API Key or the Client Credentials Grant Type, not using an OAuth Access Token for a particular member.
Parameters
Name | Type | Description |
---|---|---|
Required
events
|
array | List of events to subscribe to |
Required
url
|
string | URL to send webhook to |
content_header
|
string | The content type for the request. |
Exceptions
Code | Message | Description |
---|---|---|
1C293/1 |
NO_EVENTS |
No events were specified |
1C293/2 |
INVALID_URL |
The URL specified was not valid |
Response
Name | Type | Description |
---|---|---|
id
|
int | ID number |
events
|
array | List of events this hook is subscribed to |
url
|
string | URL to send webhook to |