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",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}
Successful operation
The response is of type object
.
The response is of type object
.
The response is of type object
.
curl --request POST \
--url https://api.vogent.ai/api/functions \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}
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",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}
Successful operation
The response is of type object
.
The response is of type object
.
The response is of type object
.
curl --request POST \
--url https://api.vogent.ai/api/functions \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "transfer",
"lifecycleMessages": {
"started": [
"<string>"
]
},
"allowedNumbers": [
{
"number": "<string>"
}
]
}