Skip to main content
WEBHOOK

Headers

webhook-id
string
required

Unique message id, stable across delivery retries. Use it as an idempotency key. Equals the payload id.

webhook-timestamp
string
required

Unix timestamp (seconds) of this delivery attempt.

webhook-signature
string
required

Base64 HMAC-SHA256 signature, formatted v1,<signature>, over ${webhook-id}.${webhook-timestamp}.${raw_body}.

x-composio-webhook-version
string
required

Payload version for this subscription (for example V3).

x-composio-delivery-attempt
string
required

Attempt number for this delivery, starting at 1 and incrementing on each retry. The payload and webhook-id are identical across attempts, so use webhook-id for idempotency rather than this value.

Body

application/json
type
string
required

The trigger that fired (for example github_commit_event).

timestamp
string<date-time>
required

ISO 8601 timestamp of when the event was created.

log_id
string
required

ID of the execution log.

data
object
required

The trigger event payload, plus connection identifiers.

Response

200

Return any 2xx status to acknowledge receipt. Non-2xx responses are retried.