Authorizations
Response
200 - application/json
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>"
}Triggers an agent execution via webhook. You can optionally provide configuration variables and a callback URL.
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>"
}Was this page helpful?