Skip to main content
POST
Create a webhook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 160
url
string<uri>
required
events
enum<string>[]
required
Required array length: 1 - 12 elements
Available options:
post.scheduled,
post.updated,
post.published,
post.unpublished,
post.failed,
post.partial,
post.recycled,
account.connected,
account.disconnected,
ad.created,
ad.status_changed,
account.ads.initial_sync_completed
secret
string
Required string length: 8 - 1024
isActive
boolean
customHeaders
object

Response

Webhook endpoint created.

ok
boolean
required
data
object
required