post
https://api.marketcircle.net/v1/subscriptions
Subscribe a URL to an event
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Webhook subscriptions allow you to subscribe to get notified when objects are created, updated, or deleted in Daylite.
After 10 failed deliveries in a row, a subscription is deactivated and the account's admins are emailed. See Delivery and failures.
{ "target_url": "https://example.com/daylite/contact-created", "event": "contact.insert" }target_url must be an HTTPS URL with a path. See Events for the events you can subscribe to, and Notifications for what is sent.
A successful request returns 201 Created with the new subscription's reference, e.g. {"self": "/v1/subscriptions/0192c1f4-8d2e-7a51-9b3f-2f6c1d9e4a10"}. Subscribing the same URL to the same event twice returns 400 with {"error":"duplicate_subscription"}.