veil

Open the linked roles page

The page Discord opens from a server's linked role: it reads this browser's card, shows what Discord will see and sends the person to Discord. Give it to the Developer Portal as the Linked Roles Verification URL.

GET/discord/linked-roles
Access
Public access
Client
Local or server client

Request examples#

cURL
curl -fsS 'https://veil.pub/discord/linked-roles'

Response#

HTTP 200text/html

An HTML page; its data comes from GET /v1/discord/linked-roles and GET /v1/identities/{n}/discord-roles.

Response headers#

HeaderValueMeaning
Content-Typetext/htmlA page for a browser.
Cache-Controlno-cacheThe page holds no data; the script reads it.

Errors#

The OAuth callback renders an HTML return page, including when it fails. The codes below describe the failure shown on that page. 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.