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
}
}
}
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
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
AgentToolMetaDataRequest
The body is of type object
.
AgentToolsResource
The response is of type object
.