curl --request POST \
--url https://sandbox.composer.id/v1/webhooks/{platform} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Signature-HMAC-SHA256-1: <x-signature-hmac-sha256-1>' \
--data '
{
"intent_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"payload": {}
}
'import requests
url = "https://sandbox.composer.id/v1/webhooks/{platform}"
payload = {
"intent_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"payload": {}
}
headers = {
"X-Signature-HMAC-SHA256-1": "<x-signature-hmac-sha256-1>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Signature-HMAC-SHA256-1': '<x-signature-hmac-sha256-1>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({intent_id: '<string>', timestamp: '2023-11-07T05:31:56Z', payload: {}})
};
fetch('https://sandbox.composer.id/v1/webhooks/{platform}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true,
"intent_id": "itn_7f3aK2mQ9xLp",
"provider": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Receive a signed destination event and record it on the intent's timeline
Inbound delivery from a destination platform, addressed to the destination’s webhook URL for this tenant. No bearer token: the X-Signature-HMAC-SHA256-1 header authenticates the delivery and an unverifiable one is rejected, not queued. The body must reference an Intent ID this tenant minted; the event lands on that intent’s timeline as webhook.received and drives back-sync.
curl --request POST \
--url https://sandbox.composer.id/v1/webhooks/{platform} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Signature-HMAC-SHA256-1: <x-signature-hmac-sha256-1>' \
--data '
{
"intent_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"payload": {}
}
'import requests
url = "https://sandbox.composer.id/v1/webhooks/{platform}"
payload = {
"intent_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"payload": {}
}
headers = {
"X-Signature-HMAC-SHA256-1": "<x-signature-hmac-sha256-1>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Signature-HMAC-SHA256-1': '<x-signature-hmac-sha256-1>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({intent_id: '<string>', timestamp: '2023-11-07T05:31:56Z', payload: {}})
};
fetch('https://sandbox.composer.id/v1/webhooks/{platform}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true,
"intent_id": "itn_7f3aK2mQ9xLp",
"provider": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Headers
Base64-encoded HMAC-SHA256 of the raw request body, computed with one of the active signing keys. The numeric suffix carries no meaning: during key rotation a delivery may carry several X-Signature-HMAC-SHA256-{n} headers and any one matching an active key verifies it. Comparison is timing-safe.
Path Parameters
Body
Back-sync event envelope delivered by composerID webhooks, and accepted inbound at POST /webhooks/{platform}. Signed in transport, not in the body: each delivery carries one or more X-Signature-HMAC-SHA256-{n} headers, each the Base64 HMAC-SHA256 of the raw body under an active signing key; any one match verifies, so keys rotate without downtime.
Response
Accepted
The delivery was verified and recorded as a webhook.received event on the intent's timeline.