Webhooks
Create a campaign-specific webhook subscription.
Notify the specified URL when a video event occurs. For general (not specific to one campaign) webhooks, use the /webhooks endpoint.
post/campaigns/{campaignId}/webhooks
Request
- Base URL: https://api.pitchlane.com/api/public/v1
- URL: https://api.pitchlane.com/api/public/v1/campaigns/{campaignId}/webhooks
- Auth: API key in header X-API-Key
Path parameters
campaignIdstring
The unique identifier of the campaign.
Request body
Response
The webhook was successfully created.
Example response
{
"id": "DHFG2C09n_3qrsSymZjjm"
}Changes
No recorded changes to this operation across all 1 revision of this API.