Integrations
Inbound Webhook Receiver for External Messages
POST
/api/integrations/{integration_id}/webhookOverview
Webhook endpoint receiving asynchronous callbacks from external messaging platforms (WhatsApp, Slack) to trigger agent execution and reply.
Authentication & Headers
- Auth: Channel signature validation (HMAC / Verify Token)
- Required Header:
API-Version: 1
Parameters
integration_id(path, string, required): Target integration UUID.
Parameter
Path
integration_idstring (uuid)wajibUnique identifier of the external communication channel integration (WhatsApp, Slack).
Respons
200 Webhook received and dispatched
422 Validation Error
detailobject[]detail[].locstring | integer[]wajibdetail[].msgstringwajibdetail[].typestringwajibdetail[].inputobjectdetail[].ctxobject{
"detail": [
{
"loc": [
null
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Contoh
curl -X POST "$PINTER_URL/api/integrations/00000000-0000-0000-0000-000000000001/webhook" \
-H "Authorization: Bearer $ACCESS_TOKEN"