Skip to main content
POST
/
api
/
agents
/
{agentId}
/
tools
/
post-call-webhook
/
assign
Assign existing post-call webhook to agent
curl --request POST \
  --url http://localhost:8080/api/agents/{agentId}/tools/post-call-webhook/assign \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>' \
  --data '
{
  "webhook_id": "<string>"
}
'
{
  "message": "Post-call webhook assigned successfully",
  "status": "success",
  "error": null,
  "data": {}
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

agentId
string
required

Body

application/json
webhook_id
string
required

Response

200 - application/json

OK

message
string
status
string
error
string
data
object