curl --request GET \
--url https://{defaultHost}/v1/auth/{app_id}/challenges/{token}{
"challenge": {
"token": "ch_abc123xyz789",
"status": "pending",
"purpose": "authenticate",
"method": "email_otp",
"expires_at": "2023-11-07T05:31:56Z",
"remaining_attempts": 3,
"time_remaining": 540,
"intent": "<string>",
"delivery_required": true
}
}Retrieve the current status of a challenge. Use this to poll for challenge state or display remaining time/attempts to the user.
curl --request GET \
--url https://{defaultHost}/v1/auth/{app_id}/challenges/{token}{
"challenge": {
"token": "ch_abc123xyz789",
"status": "pending",
"purpose": "authenticate",
"method": "email_otp",
"expires_at": "2023-11-07T05:31:56Z",
"remaining_attempts": 3,
"time_remaining": 540,
"intent": "<string>",
"delivery_required": true
}
}Was this page helpful?