GET
/
functions
/
{id}
curl --request GET \
  --url https://api.vogent.ai/api/functions/{id}
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "type": "transfer",
  "allowedNumbers": [
    {
      "number": "<string>"
    }
  ]
}

Path Parameters

id
string
required

ID of the function.

Response

200
application/json
Successful operation
id
string
required
name
string
required

The name of the function.

description
string
required

A description of what the function does.

type
enum<string>
required
Available options:
transfer,
api
allowedNumbers
object[]
required

The numbers that the agent is allowed to transfer to.