API ReferenceWebhook Events

Trigger message (V2)

The V2 trigger payload format. New integrations should use V3.

Header Parameters

webhook-idstringRequired

Unique message ID, stable across delivery retries. Use it as an idempotency key.

webhook-timestampstringRequired

Unix timestamp (seconds) of this delivery attempt.

webhook-signaturestringRequired

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

x-composio-webhook-versionstringRequired

Payload version for this subscription (for example V3).

x-composio-delivery-attemptstringRequired

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.

Request Body

application/json

typestringRequired

The trigger that fired (for example github_commit_event).

timestampstringRequired

ISO 8601 timestamp of when the event was created.

Format: date-time
log_idstringRequired

ID of the execution log.

dataanyRequired

The trigger event payload, plus connection identifiers.

Response Body

Example Requests

POST/composio.trigger.message.v2