Create webhook subscription
POST/webhooks
Create a new webhook subscription.
Headers
AuthorizationRequired
Bearer authentication of the form Bearer <token>, where token is your auth token
Request
Webhook subscription params
is_activeboolean
Indicates whether the webhook subscription should be created as active
topicenumRequired
The topic of the webhook subscription
urlstringRequired
The URL to which webhook events will be sent
Example Request
curl -X POST https://api.parsel.app/webhooks
-H "Authorization: Bearer <bearer_token>"
-H "Content-Type: application/json"
-d '{
"is_active": true,
"topic": "LABEL_TRACKING_UPDATED",
"url": "https://example.com/webhook"
}'