New ad inquiry received

POST https://webhook.example.com

New ad inquiry received. You can subscribe to this event by creating webhook with event inquiry_created through url POST /advertising/v1.0/webhooks/ that is described more in Endpoints section in Webhooks category. Webhooks can be tested by calling the test endpoint POST /advertising/v1.0/webhooks/:webhookId/test/* which will send some test payload to the defined webhook.

application/json

Body

Responses

  • Return a 200 status to indicate that the data was received successfully

POST inquiry_created
Request example
{
  "webhookId": "6464abdf568a8c4800b8ac12",
  "event": "inquiry_created",
  "payload": {
    "id": "6464abdf568a8c4800b8ac11",
    "createdAt": "2023-05-04T09:42:00+00:00",
    "adId": "6464abdf568a8c4800b8cc42",
    "adThirdPartyId": "123123",
    "advertiserId": "6464abdf568a8c4800b8cc46",
    "advertiserThirdPartyId": "123456",
    "advertisingCompanyId": "6464abdf568a8c4800b8cc36",
    "advertisingCompanyThirdPartyId": "9874563",
    "email": "email@example.com",
    "phoneNumber": "123123123",
    "message": "Ukázková zpráva..."
  }
}