cURL
curl --request POST \ --url {protocol}://{domain}/api/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'url=<string>' \ --data 'secret=<string>'
{ "id": "<string>", "url": "<string>", "secret": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Create webhook configuration for real-time notifications
Bearer token authentication supports:
Example: Authorization: Bearer your_token_here
Authorization: Bearer your_token_here
Webhook created
The response is of type object.
object
Was this page helpful?