Agent URLs
Create agent url
API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Knowledge
Accounts
Billing
Agent URLs
Create agent url
Create a new url for an agent and replace existing one if exists
POST
/
api
/
v2
/
agentUrl
curl --request POST \
--url https://api.vida.dev/api/v2/agentUrl \
--header 'Content-Type: application/json' \
--data '{
"targetUsername": "brandon",
"slug": "welovevida"
}'
{
"success": true,
"slug": "welovevida"
}
Authorizations
Vida API Token
Body
application/json
Response
200 - application/json
Referral Slug Created Successfully
The response is of type object
.
curl --request POST \
--url https://api.vida.dev/api/v2/agentUrl \
--header 'Content-Type: application/json' \
--data '{
"targetUsername": "brandon",
"slug": "welovevida"
}'
{
"success": true,
"slug": "welovevida"
}