Skip to main content

Check Status — Authentication

Poll the result of an authentication request initiated with Authenticate from Web.

Endpoint

POST /api/organization/authenticate/checkStatus
https://sandbox-services.mobileid.dj/api/organization/authenticate/checkStatus

Headers

HeaderRequiredDescription
AuthorizationYesBearer YOUR_JWT_TOKEN

Query Parameters

ParameterTypeRequiredDescription
refstringYesThe ref token returned by Authenticate from Web

Response

{
"status": "approved",
"message": "Authentication successful"
}
FieldTypeDescription
statusstringCurrent status of the authentication request
messagestringHuman-readable status description

Status Values

StatusDescription
pendingWaiting for user action on mobile
approvedUser confirmed the authentication
rejectedUser declined the authentication
expiredRequest timed out

Example Request

POST /api/organization/authenticate/checkStatus?ref=YOUR_REF_TOKEN HTTP/1.1
Host: sandbox-services.mobileid.dj
Authorization: Bearer YOUR_JWT_TOKEN

Notes

  • Poll this endpoint every 2–3 seconds until a terminal status is received.
  • The ref token is single-use per request session.