Skip to main content
POST
/
webhook
cURL
curl --request POST \
  --url https://api.example.com/webhook \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "REPORT",
  "url": "https://webhook-test.com/a0a7aadb8de3e",
  "apiKey": "xxx-xxx-xxx"
}
'

Body

application/json
type
enum<string>
required

Type Webhook

Available options:
REPORT,
OPTIN,
CREDIT_POLICY,
REPORT_STATUS,
REPORT_FINISHED
url
string
required

The URL for the webhook

Example:

"https://webhook-test.com/a0a7aadb8de3e"

apiKey
string
required

API Key para uma requisição autenticada (será enviado como api-key em headers)

Example:

"xxx-xxx-xxx"

Response

200 - undefined