Trigger for testing

POST /advertising/v1.0/webhooks/{webhookId}/test

Endpoint for testing webhooks. If you call it, it will send a request to the URL defined in the webhook configuration with a fake data payload.

Path parameters

application/json

Body

  • adId string

    Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertisement insert endpoint.

Responses

POST /advertising/v1.0/webhooks/{webhookId}/test
curl \
 -X POST http://apis.public-staging.reas.cz/advertising/v1.0/webhooks/{webhookId}/test \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"adId":"63d9007e66fc41b2cd1057c6"}'
Request example
{
  "adId": "63d9007e66fc41b2cd1057c6"
}
Response examples (200)
{
  "success": true
}