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"
}
Create a new url for an agent and replace existing one if exists
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"
}
Vida API Token
Referral Slug Created Successfully
The response is of type object
.