veil

Share a verification preview

Share a signed message with a server-generated social preview.

GET/v/{n}/{signature}
Access
Public access
Client
Open as a page

Parameters#

NameLocationMeaning
nRequiredPathPermanent positive card number.
signatureRequiredPathBase64url of the 64 signature bytes, without padding. Server previews support Ed25519.
mRequiredQueryBase64url of the exact message’s UTF-8 bytes, without padding. At most 1500 decoded bytes.
langQueryen or it. English is the default.

Request examples#

cURL
curl -fsS 'https://veil.rip/v/1/SIGNATURE?m=MESSAGE'

Build the encoded values from the signed bytes. The message is not plain text in the query. For composite signatures or longer messages, use the fragment link on /verify.

Response#

HTTP 200text/html

The browser verification page plus social metadata calculated by the server. The message is sent to the server.

Response headers#

HeaderValueMeaning
Content-Typetext/htmlUse the declared media type before choosing a parser.
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.

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
404not_found

The requested card, key, alias, code or resource was not found.

Check the identifier. Temporary codes and previews may already have expired or been used.

Shared request errors
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.