POST
/
v1
/
voice
/
tools
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/voice/tools \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tool_type": "webhook",
  "name": "<string>",
  "description": "<string>",
  "endpoint_url": "<string>",
  "source_addr": "<string>",
  "endpoint_method": "GET",
  "parameters": [
    {
      "name": "<string>",
      "type": "string",
      "description": "<string>",
      "example": "<string>"
    }
  ],
  "mark_as_qualified": false
}'
{
  "data": {
    "id": "<string>",
    "team_id": "<string>",
    "meta": {
      "tool_type": "webhook",
      "name": "<string>",
      "description": "<string>",
      "endpoint_url": "<string>",
      "source_addr": "<string>",
      "endpoint_method": "GET",
      "parameters": [
        {
          "name": "<string>",
          "type": "string",
          "description": "<string>",
          "example": "<string>"
        }
      ],
      "mark_as_qualified": false
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

AgentToolMetaDataRequest

The body is of type object.

Response

200
application/json

AgentToolsResource

The response is of type object.