Community

Check a handle

Whether a handle can be claimed, as it would be stored, and if not why: handle_invalid, handle_reserved, handle_taken or handle_held.

GET
/v1/community/handles/{handle}
GET
/v1/community/handles/{handle}
Check a handle
Whether a handle can be claimed, as it would be stored, and if not why: handle_invalid, handle_reserved, handle_taken or handle_held.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
handlestringrequired
Check a handle
curl --request GET \
  --url 'https://api.auray.ai/v1/community/handles/{handle}' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "handle": "<string>",
  "available": true,
  "reason": "<string>",
  "request_id": "<string>"
}
Check a handle
curl https://api.auray.ai/v1/community/handles/ada
{
  "object": "<string>",
  "handle": "<string>",
  "available": true,
  "reason": "<string>",
  "request_id": "<string>"
}

Whether a handle can be claimed, as it would be stored, and if not why: handle_invalid, handle_reserved, handle_taken or handle_held. Takes no key; with a key that holds community:write a handle the account holds, or replaced and still holds, reads as available to it. An answer without a key is the same for every reader, its request_id included — which names the request that filled the edge's copy — and carries no RateLimit-* headers, since they would describe that request's sender. Cached at the edge for five seconds. A request with a key is answered for itself alone and kept in no shared cache.

Authorizations

No key needed. A key that holds community:write reads the account's own and held handles as available to it.

Path Parameters

handlestringrequired
A profile's handle; one @ before it is read past.

Response

application/json

OK.

objectstringrequired
One of "handle".
handlestringrequired
availablebooleanrequired
reasonstringrequired
One of "handle_invalid", "handle_reserved", "handle_taken", "handle_held", null. May be null.
request_idstring
Mirrored in the X-Request-Id header. On an answer without a key it names the request that filled the edge's copy, so readers served from that copy are handed the same one.

Headers:

HeaderDescription
Cache-Controlpublic, s-maxage=5 with no key; private, no-store with one.
VaryAuthorization.
RateLimit-LimitBurst capacity, per key, on an answer to a key. An answer without one is cached at the edge and carries none of the RateLimit-* headers; a refusal without one, which is never cached, carries its address's.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-Request-Id

Was this page helpful?

Check a handle
curl https://api.auray.ai/v1/community/handles/ada
{
  "object": "<string>",
  "handle": "<string>",
  "available": true,
  "reason": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.