Gilang
06/04/2025, 1:48 AM-H 'Authorization: Bearer xxx-xx-xx-xxx-xxx' \
-H 'Content-Type: application/json' \
-d '{
"function": {
"name": "API",
"strict": false,
"description": "Transfer API",
"parameters": {
"type": "object",
"properties": {
"name": {
"description": "name",
"type": "string"
},
"address": {
"type": "string"
}
}
}
},
"messages": [
{
"type": "request-start",
"content": "hello",
"conditions": []
},
{
"type": "request-complete",
"content": "test",
"conditions": []
},
{
"type": "request-failed",
"content": "sorry",
"conditions": []
},
{
"type": "request-response-delayed",
"content": "Wait",
"conditions": []
}
],
"server": {
"timeoutSeconds": 20,
"headers": {
"token": "123"
}
},
"async": false,
"url": "https://www.vapi.ai",
"method": "POST"
}'
--- END CURL ---
VAPI Tool Update Response: {
id: 'd27c7c62-0e34-49f1-8c72-f35d06e46065',
...
type: 'apiRequest',
function: {
name: 'API',
strict: false,
description: 'Transfer API',
parameters: { type: 'object', properties: [Object] }
},
orgId: '218761d7-4a06-4459-9fdc-d4c0a66490d2',
server: { timeoutSeconds: 20, headers: { token: '123' } },
...
}Vapi Support Bot
06/04/2025, 1:51 AMGilang
06/04/2025, 2:01 AMVapi Support Bot
06/04/2025, 2:38 AMivy
06/05/2025, 10:28 AMivy
06/05/2025, 10:28 AMVapi
06/06/2025, 3:21 AMivy
06/09/2025, 8:25 AMVapi
06/09/2025, 7:40 PMivy
06/11/2025, 4:09 AMGilang
06/11/2025, 4:11 AMVapi
06/11/2025, 6:58 AMivy
06/11/2025, 7:02 AMivy
06/11/2025, 7:02 AMGilang
06/12/2025, 1:58 AM"server": {
"timeoutSeconds": 20,
"headers": {
"token": "123"
}
},
and respose from this request, i got this headers and *token*:
server: { timeoutSeconds: 20, headers: { token: '123' } },
But it not showing in vapi dashboard tools. I dont know is this correct or not?Vapi
06/13/2025, 3:40 AM{
"type": "apiRequest",
"method": "POST" | "GET",
"url": "https://your-api-endpoint.com/path",
"body": {
"type": "object",
"properties": {
"paramName": {
"type": "string",
"description": "Parameter description"
}
}
}
"name": "myApiTool",
"description": "Description of what this tool does",
"headers": {
"type": "object",
"properties": {
"Authorization": {
"type": "string",
"value": "Bearer {{usertoken}}"
}
}
},
"timeoutSeconds": 20,
"backoffPlan": {
"backoffType": "exponential",
"maxRetries": 3
}
}Gilang
06/18/2025, 2:21 AMVapi
06/19/2025, 3:30 AM