Webhooks
Register and manage webhooks for real-time swarm event delivery to external systems
POST
/api/agentmail/webhookResponse Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/agentmail/webhook"{
"received": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}curl -X POST "http://localhost:3013/api/azure-devops/webhook"{
"created": true,
"taskId": "string",
"skipped": true,
"reason": "string",
"extension": {
"id": "string",
"name": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/bitbucket/webhookResponse Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/bitbucket/webhook"{
"created": true,
"taskId": "string",
"skipped": true,
"reason": "string",
"extension": {
"id": "string",
"name": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/github/webhookResponse Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/github/webhook"{
"message": "pong"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}curl -X POST "http://localhost:3013/api/gitlab/webhook"{
"created": true,
"taskId": "string",
"skipped": true,
"reason": "string",
"extension": {
"id": "string",
"name": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/integrations/chat/{adapter}/webhookPath Parameters
adapter*string
Chat SDK adapter name, e.g. telegram
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/integrations/chat/string/webhook"Empty
{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/integrations/kapso/webhookResponse Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/integrations/kapso/webhook"{
"received": true,
"routing": "skip"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/objects/agent-fs-webhook/{id}Path Parameters
id*string
Receiver id the swarm registered with agent-fs
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/objects/agent-fs-webhook/string"{
"action": "updated",
"path": "string",
"id": "string",
"reason": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}POST
/api/webhooks/{workflowId}Path Parameters
workflowId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/webhooks/string"{
"skipped": true,
"reason": "event-not-allowed",
"event": "string"
}{
"runId": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}