Skip to main content
POST
/
auth
/
email-code
/
verify
Verify code
curl --request POST \
  --url https://api.openwhispr.com/api/v1/auth/email-code/verify \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "code": "<string>"
}
'
{
  "data": {
    "token": "<string>",
    "expires_at": "2023-11-07T05:31:56Z"
  }
}

Body

application/json
email
string<email>
required
code
string
required
Required string length: 6

Response

Session token.

data
object