Confirm a waitlist email address.
const url = 'https://api.opdns.io/v1/waitlist/confirm?token=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.opdns.io/v1/waitlist/confirm?token=example'Public, rate-limited confirmation of a signed token valid for 48 hours and usable once. Success moves a pending entry to confirmed, without creating an account. Unknown, invalid, expired and already-used tokens all return 400 invalid_token. Tokens must not be logged or included in diagnostics.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The opaque signed token from the confirmation email.
Responses
Section titled “Responses”Waitlist address confirmed.
object
Example
{ "status": "confirmed"}The confirmation token is invalid, expired or already used.
object
Stable machine code.
object
Seconds, repeating the Retry-After header (rate limits, offline nodes).
Example
{ "type": "https://opdns.io/problems/invalid_token", "title": "Bad Request", "status": 400, "code": "invalid_token", "detail": "invalid confirmation token"}Rate limited (rate_limited).
object
Stable machine code.
object
Seconds, repeating the Retry-After header (rate limits, offline nodes).
Example
{ "type": "https://opdns.io/problems/rate_limited", "title": "Too Many Requests", "status": 429, "code": "rate_limited", "detail": "too many requests", "request_id": "5f2c9a0e7b1d4c38", "retry_after": 6}Headers
Section titled “Headers”A required waitlist signer or mail queue is unavailable.
object
Stable machine code.
object
Seconds, repeating the Retry-After header (rate limits, offline nodes).
Example
{ "type": "https://opdns.io/problems/waitlist_unavailable", "title": "Service Unavailable", "status": 503, "code": "waitlist_unavailable", "detail": "waitlist temporarily unavailable"}