Skip to main content
POST
/
agent
/
tool
/
run
/
{tool_id}
Execute Agent Tool (VAPI Webhook)
curl --request POST \
  --url https://api.getoutbox.ai/agent/tool/run/{tool_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<unknown>"
}
'
{
  "results": [
    {
      "toolCallId": "<string>",
      "result": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Vapi-Secret
string

Shared secret used to resolve the originating thread.

Path Parameters

tool_id
string<uuid>
required

Body

message
any
required

VAPI tool-call message: {call: {...}, toolCalls: [{id, function: {arguments}}]}.

Response

200 - application/json
results
object[]
required