Skip to main content
POST
/
api
/
hooks
/
agents
/
{agentId}
/
webhooks
/
{webhookId}
Trigger Agent Webhook
curl --request POST \
  --url https://api.airtop.ai/api/hooks/agents/{agentId}/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "configVars": {
    "slackChannel": "#general"
  },
  "callbackConfig": {
    "url": "<string>",
    "headers": {}
  }
}'
{
  "invocationId": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

agentId
string<uuid>
required
webhookId
string<uuid>
required

Body

application/json
configVars
object
Example:
callbackConfig
object

Response

200 - application/json
invocationId
string