Get one-time tokens
Get a list of one-time tokens, filtering by email and status, with optional pagination.
Query parameters
-
email
string(regex) Filter one-time tokens by email address.
Format should match the following pattern:
/^\S+@\S+\.\S+$/
. -
status
string Filter one-time tokens by status.
Values are
active
,consumed
,revoked
, orexpired
. -
page
integer Page number (starts from 1).
Minimum value is
1
. Default value is1
. -
page_size
integer Entries per page.
Minimum value is
1
. Default value is20
.
GET
/api/one-time-tokens
curl \
--request GET 'https://[tenant_id].logto.app/api/one-time-tokens' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"tenantId": "string",
"id": "string",
"email": "string",
"token": "string",
"context": {
"jitOrganizationIds": [
"string"
]
},
"status": "active",
"createdAt": 42.0,
"expiresAt": 42.0
}
]