API Documentation
Authorization
Agents
Phone Numbers
SIP
Knowledge
Accounts
Billing
API Reference
Authorization
Create a token
POST
/
api
/
v2
/
tokens
curl --request POST \
--url https://api.vida.dev/api/v2/tokens \
--header 'Content-Type: application/json' \
--data '{
"type": "admin",
"description": "Main app"
}'
{
"success": true,
"message": "Token created successfully",
"token": {
"token": "9fe4f9....",
"description": "Main app",
"type": "admin",
"timestamp": "167882907",
"userId": 3
}
}
Authorizations
Vida API Token
Body
application/json
Permission for token. Only admin currently supported
Friendly description for token
curl --request POST \
--url https://api.vida.dev/api/v2/tokens \
--header 'Content-Type: application/json' \
--data '{
"type": "admin",
"description": "Main app"
}'
{
"success": true,
"message": "Token created successfully",
"token": {
"token": "9fe4f9....",
"description": "Main app",
"type": "admin",
"timestamp": "167882907",
"userId": 3
}
}