Skip to main content

Audience:

Developers

Get the latest identification

Call the API to get identification levels awarded to your user.

Identification information is also available on your Dashboard: look up users from the Dashboard.

Prerequisites

You need a project access token to call the query.

Guide

  1. Call the user query.
  2. Add the user ID.
  3. Add all information you'd like to review.
    • The sample query retrieves all identification levels awarded to the user, as well as information about their last PVID identification.
  4. Filter and order the identifications, using pagination with first: 1 to get only the most recent PVID result (lines 9-11).

Query

Open in API Explorer
query LatestPvidIdStatus {
user(id: "$YOUR_USER_ID") {
identificationLevels {
PVID
expert
QES
}
identifications(
filters: { processes: PVID }
orderBy: { field: updatedAt, direction: Desc }
first: 1
) {
edges {
node {
id
process
}
}
}
}
}

Payload

The payload shows that this user is successfully identified using PVID.

{
"data": {
"user": {
"identificationLevels": {
"PVID": true,
"expert": true,
"QES": true
},
"identifications": {
"edges": [
{
"node": {
"id": "$YOUR_IDENTIFICATION_ID",
"process": "PVID"
}
}
]
}
}
}
}