Endpoint: https://api.authanywhere.autharmor.com/v2/auth/{auth_request_id}
Method: GET
Get auth Info
NOTE: Before you can get Auth Info, you must make an Auth Request. This article covers getting Auth Info after a request has been made. To read about how to make an Auth Request, click here
After you have made your Auth Request, you will instantly get back an auth_request_id that you can use to get the status of your auth request. Simply make a GET request to: https://api.authanywhere.autharmor.com/v2/auth/{auth_request_id}
Request Example:
This will return the status of the auth request, and the auth response if it is available.
For example, if the Auth Request has been to be completed, you will get back a pending response.
Pending Response Example:
An Auth Request can only have two status values:
- Pending
A request is pending until it is completed. The auth_response will be null for pending requests. - Completed
A Completed request means one of the following has occurred:- Timeout - The request timed out per the timeout in the auth request response.
- Success - The user accepted the auth request
- Declined - The user declined the auth request
A completed auth request will contain the auth_response object. The auth_response object contains the result of the request.
Completed Response Example (Trimmed, see bottom for full response)