Creates a function.
curl --request POST \ --url https://api.vogent.ai/api/functions \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "description": "<string>", "type": "transfer", "allowedNumbers": [ { "number": "<string>" } ] }'
{ "id": "<string>", "name": "<string>", "description": "<string>", "type": "transfer", "allowedNumbers": [ { "number": "<string>" } ] }
The name of the function.
A description of what the function does.
The numbers that the agent is allowed to transfer to in e.164 format (+11234567890).
Show child attributes
The number in e.164 format.
transfer
api
The numbers that the agent is allowed to transfer to.