veil

Share an account’s address

An address that opens the card holding an account: veil.pub/github/<login>, veil.pub/discord/<username>.

GET/{platform}/{account}
Access
Public access
Client
Local or server client

Parameters#

NameLocationMeaning
platformRequiredPathgithub, discord, fediverse, email or domain.
accountRequiredPathThe account as account= reads it after platform: (a GitHub login or github numeric ID, a Discord username or ID, @user@server, an address, a domain).
langQueryen or it, carried to the page it leads to.

Request examples#

cURL
curl -sSI 'https://veil.pub/github/Gabriele73'

Response#

HTTP 302text/plain

302 to the card’s path on this host (/u/<n> or /o/<n>) when exactly one card holds the account and, for a username or a login, the platform gave or confirmed that name in the last 2 days. Otherwise 302 to the front page’s search with the same value (/?q=github:<login>), which says that no card has it and offers Make yours, lists the cards that answer, or shows the card found by an older name with the account’s ID and the date.

Response headers#

HeaderValueMeaning
Content-Typetext/plainUse the declared media type before choosing a parser.
Location/u/<n> or /o/<n>, or /?q=<platform>:<account>Follow it: the card checks itself in the browser, or the front page answers.
DateHTTP dateServer time. Compare it with your clock when signing requests.
Retry-Afterinteger seconds, on rate_limited or busyWait at least this long before retrying. Other 429/503 codes do not necessarily include it.

Usage notes#

  • The same exact rules as GET /v1/lookup?account=: the whole name, active links only, never a guess between two cards.
  • An address with an ID (/discord/<ID>, /github/<numeric ID>) always opens the card that holds that account. Prefer it in a profile: a name can pass to someone else. The answer is never cached and carries X-Robots-Tag: noindex.

Errors#

API errors return an error object. Use error.code for program logic; error.message is English text for people and can change. Response and error guide

HTTPCodeMeaning and next step
429rate_limited

An anonymous, signed-request or API-key allowance was exceeded.

Wait at least Retry-After seconds. Share a queue and retry budget across your workers.

500internal_error

An unexpected server error occurred. Internal details are not returned.

Retry reads with bounded backoff. Check write results before sending a new signed operation.

503busy

The application has reached a temporary concurrency or database limit.

Wait Retry-After seconds and retry with bounded backoff.