Skip to main content
POST
/
portal
/
email
/
verify
Verify the code, open a session
curl --request POST \
  --url https://api.useduro.com/portal/email/verify \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "123456",
  "token": "<string>",
  "email": "jsmith@example.com"
}
'
{
  "sessionToken": "<string>",
  "account": {
    "email": "<string>",
    "name": "<string>"
  },
  "subscriptions": [
    {
      "tenantId": "<string>",
      "merchantName": "<string>",
      "subscriptions": [
        {
          "id": "<string>",
          "status": "<string>",
          "cancelAtPeriodEnd": true,
          "currentPeriodEnd": "<string>",
          "plan": {
            "id": "<string>",
            "name": "<string>",
            "amount": 123,
            "currency": "<string>",
            "interval": "<string>",
            "intervalCount": 123
          }
        }
      ]
    }
  ]
}

Body

application/json
code
string
required
Example:

"123456"

token
string
email
string<email>

Response

200 - application/json

Session + account + subscriptions

sessionToken
string
account
object
subscriptions
object[]