Mailboxes

Get a sign-in code

POST
/v1/mailboxes/{id}/totp

The mailbox's current two-step verification code.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Response Body

Success

application/json
  1. response

Success

code*string
expiresAt*string
Formatdate-time
curl -X POST "https://example.com/v1/mailboxes/mbx_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/totp"
{  "code": "492817",  "expiresAt": "2026-10-07T11:04:31.000Z"}