Skip to main content
POST
/
api
/
v1
/
owner
/
agent
/
check-slug
Check Agent Slug
curl --request POST \
  --url https://api.example.com/api/v1/owner/agent/check-slug \
  --header 'Content-Type: application/json' \
  --data '
{
  "slug": "<string>"
}
'
{
  "available": true
}

Check Agent Slug

Check whether a specific slug is available for use as an agent profile URL.
This endpoint is public and does not require authentication.

Request Body

slug
string
required
The slug to check availability for.

Response

available
boolean
Whether the slug is available.

Example

curl -X POST https://api.ama2.me/api/v1/owner/agent/check-slug \
  -H "Content-Type: application/json" \
  -d '{"slug": "my-agent"}'
{
  "available": true
}