Make a Phone Call by Vibrato
Make a Phone Call by Vibrato · GPT-Aktionen
Vibrato Call API
POST /api/gpt_dynamic_tasks/Create a new task
Ursprüngliches API-Schema
{
"openapi": "3.1.1",
"info": {
"title": "Vibrato Call API",
"version": "0.0.1"
},
"servers": [
{
"url": "https://api.getvibrato.com",
"description": "Vibrato Production"
}
],
"paths": {
"/api/gpt_dynamic_tasks/": {
"post": {
"summary": "Create a new task",
"operationId": "createGptDynamicTask",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"recipient_name": {
"type": "string"
},
"phone_number": {
"type": "string",
"pattern": "^\\d{1,15}$"
},
"country_code": {
"type": "string",
"pattern": "^\\d{1,10}$"
},
"task_description": {
"type": "string"
},
"metadata": {
"type": "string"
}
},
"required": [
"recipient_name",
"phone_number",
"country_code",
"task_description"
]
}
}
}
},
"responses": {
"201": {
"description": "Task created successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GptsDynamicTask"
}
}
}
},
"400": {
"description": "Bad request"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"500": {
"description": "Internal server error"
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
],
"components": {
"schemas": {
"CallParameter": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
},
"GptsDynamicTask": {
"type": "object",
"properties": {
"create_url": {
"type": "string"
},
"phone_number": {
"type": "string"
},
"country_code": {
"type": "string"
},
"recipient_name": {
"type": "string"
},
"task_description": {
"type": "string"
},
"metadata": {
"type": "string"
}
},
"required": [
"create_url",
"phone_number",
"country_code",
"recipient_name",
"task_description"
]
}
},
"securitySchemes": {
"BearerAuth": {
"type": "http",
"scheme": "bearer"
}
}
}
}