Description: Checks if user authorized your authentication request. Poll this until you get a valid status or it fails. Returns authorization token on success - you'll need this for literally everything else.
Path Parameters:
auth_id
: string (required) - Unique identifier of the authorization requestResponse:
status
: enum (valid | denied | unresolved) (optional)token
: string (optional) - Authorization tokenerror
: object (optional) - Error responseResponse Example (Success):
{
status: "valid";
token: "secureUserToken";
}
Response Example (Denied):
{
status: "denied";
}
Response Example (Error):
{
"error": {
"code": "NOT_FOUND",
"message": "Authorization request with this id does not exists."
}
}
Error Responses:
404 Not Found
:
error.code
: NOT_FOUND
error.message
: Authorization request with this id does not exists.