Retrieve Document Scan Data
GET /userinfo
Return data from the IDScan product (document scan and face match), either for DBS or RTW, for the user identified by the Authorization OAuth token.
Authorization
You need to include a bearer token retrieved from the token endpoint.
Example request
curl --request GET
--url https://controller.myoneid.co.uk/userinfo
--header 'Authorization: Bearer <access_token>'
GET /userinfo HTTP/1.1
Host: controller.myoneid.co.uk
Authorization: Bearer <access_token>
Right to Work
{
"sub": "d86327c0-f9e4-510a-9a8e-a7e22875e771",
"idscan": { }
}
DBS Checks
{
"sub": "5c369433-3529-5fdb-89f2-2883deda827b",
"idscan": { }
}
Global
{
"sub": "d86327c0-f9e4-510a-9a8e-a7e22875e771",
"idscan": { }
}
Error Response
HTTP/1.1 400 OK
Content-Type: application/json
Status Codes
- 200 OK - Returns the idscan data for the user
- 400 Bad request
Was this page helpful?