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
trigger_name
string
required

The trigger that fired (for example github_commit_event).

connection_id
string<uuid>
required

UUID of the connected account.

trigger_id
string<uuid>
required

UUID of the trigger instance.

payload
object
required

The trigger event payload.

log_id
string
required

ID of the execution log.

Response

200

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