Documentation Index Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt
Use this file to discover all available pages before exploring further.
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
The event type (e.g. campaign.approval.requested).
Event-specific payload for this webhook. Show Data object parameters
Approval request context for the campaign. Show Approval object parameters
Campaign being approved. Contains id, name, startDate, and endDate.
Workspace the campaign belongs to. Contains id, slug, and name.
New approval requests created by this action. Each item has id, isBlocking, message, dueDate, createdAt, status (Requested), user (approver), and requestedBy (who asked for approval). User objects contain id, firstName, lastName, and email. Dates are ISO 8601 strings where present.
Approvals already on the campaign before this request. Each item is either a requested approval (status Requested) or an approved one (status Approved). Approved items include approvedAt and approvedBy.
ISO 8601 timestamp when the webhook event was created.
{
"type" : "campaign.approval.requested" ,
"data" : {
"approval" : {
"campaign" : {
"id" : "550e8400-e29b-41d4-a716-446655440003" ,
"name" : "Launch 2025" ,
"startDate" : "2025-01-01" ,
"endDate" : "2025-12-31"
},
"workspace" : {
"id" : "550e8400-e29b-41d4-a716-446655440000" ,
"slug" : "acme" ,
"name" : "Acme Inc"
},
"createdApprovals" : [
{
"id" : "550e8400-e29b-41d4-a716-446655440710" ,
"isBlocking" : true ,
"message" : "Legal sign-off needed for this campaign." ,
"dueDate" : "2025-03-05T17:00:00.000Z" ,
"createdAt" : "2025-02-26T14:00:00.000Z" ,
"status" : "Requested" ,
"user" : {
"id" : "550e8400-e29b-41d4-a716-446655440021" ,
"firstName" : "Sam" ,
"lastName" : "Chen" ,
"email" : "sam@example.com"
},
"requestedBy" : {
"id" : "550e8400-e29b-41d4-a716-446655440010" ,
"firstName" : "Jane" ,
"lastName" : "Doe" ,
"email" : "jane@example.com"
}
}
],
"existingApprovals" : []
}
},
"createdAt" : "2025-02-26T14:00:00.000Z"
}