auth

Confirms an account with the six-digit code mailed at signup, and signs it in.

post/api/auth/confirm

Request

  • Base URL: https://api.pricklymails.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pricklymails.com/api/auth/confirm
  • Auth: none declared

Request body

codestring required

The six-digit code from the confirmation email.

emailstring required

The address the account was registered under.

preview_tokenstring nullable

The preview_token of the check the visitor ran on this address before signing up: that check becomes the account's first job.

Response

Email address confirmed; authenticated.

access_tokenstring required

Access token (JWT), sent as a Bearer credential.

expires_ininteger required

Access token lifetime in seconds.

first_job_uuidstring uuid nullable

The job recording the check the visitor ran on their address before signing up, readable through GET /api/jobs/{uuid}. Present only when preview_token named one.

Changes

No recorded changes to this operation across all 1 revision of this API.