List authorization links
const url = 'https://api.clearance.rest/emails/auth-links?limit=50';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
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.clearance.rest/emails/auth-links?limit=50' \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Comma-separated link statuses; a link matches when it has any of them (default: all).
Page size (1-200).
The next_cursor value of the previous page.
Responses
Section titled “Responses”Default Response
object
A public link that lets anyone connect a mailbox to the project.
object
The page to share, e.g. https://links.clearance.rest/
UTC timestamp (ISO 8601).
Branding of the link page (project defaults overridden by the link); null fields use the default look.
object
Free-form JSON object (at most 16 KB, 5 levels deep, keys up to 64 characters).
object
UTC timestamp (ISO 8601).
Example
{ "success": true, "links": [ { "status": "active", "providers": [ "gmail" ], "locale": "en" } ]}Default Response
Error envelope returned by every JSON endpoint.
object
object
Machine-readable error code (snake_case).
Human-readable message.
Extra context for the error.
object
Example
{ "success": false}Default Response
Error envelope returned by every JSON endpoint.
object
object
Machine-readable error code (snake_case).
Human-readable message.
Extra context for the error.
object
Example
{ "success": false}Default Response
Error envelope returned by every JSON endpoint.
object
object
Machine-readable error code (snake_case).
Human-readable message.
Extra context for the error.
object
Example
{ "success": false}