Trade a login code for an API key

Returns a new API key for the account. Codes expire after 10 minutes and work once; five wrong attempts cancel the code. Each successful verification creates a new key; existing keys keep working.

post/auth/verify-code

Request

  • Base URL: https://api.lazybird.app/v1
  • URL: https://api.lazybird.app/v1/auth/verify-code
  • Auth: none required

Request body

emailstring email required
codestring required

The 6-digit code from the email

keyNamestring

A label for the new key

Response

API key created

apiKeystring
userIdstring
emailstring
isNewAccountboolean

Changes

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