API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Webhooks
Knowledge
Accounts
- POSTCreate a new reseller
- GETList resellers
- POSTCreate a new organization
- DELDelete an organization
- GETList organizations
- GETList agent accounts
- POSTCreate a new account
- DELDelete an account
- GETList admin users
- DELDelete admin user
- POSTInvite admin user
- GETFetch Account by externalAccountId
- POSTUpdate Organization Settings
Billing
Authorization
Create a token
Create a new token for your account
POST
/
api
/
v2
/
tokens
Copy
Ask AI
curl --request POST \
--url https://api.vida.dev/api/v2/tokens \
--header 'Content-Type: application/json' \
--data '{
"type": "admin",
"description": "Main app"
}'
Copy
Ask AI
{
"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
Response
200
application/json
Successful response
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.vida.dev/api/v2/tokens \
--header 'Content-Type: application/json' \
--data '{
"type": "admin",
"description": "Main app"
}'
Copy
Ask AI
{
"success": true,
"message": "Token created successfully",
"token": {
"token": "9fe4f9....",
"description": "Main app",
"type": "admin",
"timestamp": "167882907",
"userId": 3
}
}
Assistant
Responses are generated using AI and may contain mistakes.