Partner 2FA / Poll challenge status
/v1/auth/challenge/{challengeId}Poll challenge state. When approved, verificationToken appears once — consume it immediately.
Bearer clientId:clientSecret — Server secret required.
| Parameter | Type | Required | Description |
|---|---|---|---|
challengeId | string | Required |
200 Challenge state (includes verificationToken once when approved)
approvedAtstringnullablechallengeIdstringrequiredexpiresAtstringrequirednullableidentityIdstringrequirednullablepollAfterMsintegerrequirednullablestatusstringrequiredverificationTokenstringnullable404 Not found
detailsobjecterrorstringrequiredmessagestringrequired@keyra/typescript-sdk: pollChallenge / waitForChallengeApprovalcurl -X GET "https://auth.keyra.ie/v1/auth/challenge/chg_xxxxxxxx" \
-H "Authorization: Bearer CLIENT_ID:CLIENT_SECRET"Response
{
"challengeId": "string",
"expiresAt": "string",
"identityId": "string",
"pollAfterMs": 0,
"status": "string",
"verificationToken": "vrf_xxxxxxxx"
}