Redeem an email sign-in code.

Redeem the 6-digit code received by email (with the same email) and issue a device token for this app install.

post/v1/auth/key/redeem

Request

  • Base URL: https://api.cortexplus.io
  • URL: https://api.cortexplus.io/v1/auth/key/redeem
  • Auth: none required

Request body

emailstring email required

Email the code was sent to.

keystring required

6-digit code received by email.

deviceNamestring
platformstring

Response

Successful response.

deviceTokenstring required

Device credential (cxd_…); use it as the bearer token.

userobject required

Changes

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