GET
/
tool
/
{id}
curl --request GET \
  --url https://api.vapi.ai/tool/{id} \
  --header 'Authorization: Bearer <token>'
{
  "async": false,
  "messages": [
    {
      "type": "request-start",
      "content": "<string>",
      "conditions": [
        {
          "value": "<string>",
          "operator": "eq",
          "param": "<string>"
        }
      ]
    }
  ],
  "type": "dtmf",
  "id": "<string>",
  "orgId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "function": {
    "name": "<string>",
    "description": "<string>",
    "parameters": {
      "type": "object",
      "properties": {},
      "required": [
        "<string>"
      ]
    }
  },
  "server": {
    "timeoutSeconds": 20,
    "url": "<string>",
    "secret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard.

Path Parameters

id
string
required

Response

200 - application/json

The response is of type object.