Skip to main content
PUT
Replace webhook settings

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string
required
Required string length: 16
Pattern: ^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$
name
string
Required string length: 1 - 160
url
string<uri>
events
enum<string>[]
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 | null
Required string length: 8 - 1024
isActive
boolean
customHeaders
object | null

Response

Webhook endpoint updated.

ok
boolean
required
data
object
required