Skip to main content
PATCH
Update cloud_api connection
Updates an Official API (Cloud API) connection. Send at least one field:
  • webhookUrl — destination URL for events (or null to clear it).
  • webhookMode — normalized (canonical D-API events) or meta_passthrough (raw Meta payloads).
  • accessToken — rotates the Meta token. It is re-encrypted with AES-256-GCM on write.
Requires at least one field in the body. Returns 404 if the connection is not found and 400 if no field is provided.

Authorizations

Authorization
string
header
required

API Key for authentication. Format: <API_KEY>

Path Parameters

id
string
required

Body

webhookUrl
string | null
webhookMode
Allowed value: "normalized"
accessToken
string
Minimum string length: 1

Response

Successful response

success
boolean
required
data
any
error
string
code
string