API reference

API reference · Account

Confirm an address with the token from its link

POST/api/account/email/verifyNo key

No session needed: holding the token is the proof. Single use; the link lasts a day.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
tokenrequiredstring

Example

{
  "token": "string"
}

Answer 200

Confirmed.

Fields of the 200 answer
FieldTypeWhat it is
okboolean

Errors

  • 400OpenAI shaped error.
  • 404OpenAI shaped error.
  • 410OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter