Search…
Verifications
The following endpoints are used to insert and retrieve entries representing verifications (of an identity's documents) from the database.
VERIFICATIONS ENDPOINTS
GET /verifications/:id
GET /verifications

The verification object

The verification object represents the result of a document's check by a KYC partner.
A verification is identified by a unique, random id and relates to a user's identityId.
VERIFICATIONS OBJECT
{
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
"status": "pending",
"exceptionDetails": "",
"createdAt": "2020-01-09T10:21:05.760Z",
"updatedAt": "2020-01-15T13:12:21.860Z"
}
get
https://api.publicmint.com
/verifications/:id
GET /verifications/:id

Request

Request
Curl
Response
GET https://api.sandbox.publicmint.io/verifications/ddec6616-b29f-4517-98f9-612ec7859120
curl -X GET \
https://api.sandbox.publicmint.io/verifications/1c1b39a2-f8ec-4680-82cd-09926e1a2c95 \
-H 'apikey: {INSERT API KEY HERE}'
{
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
"status": "pending",
"exceptionDetails": "",
"createdAt": "2020-01-09T10:21:05.760Z",
"updatedAt": "2020-01-15T13:12:21.860Z"
}
get
https://api.publicmint.com
/verifications
GET /verifications

Example Call

Request
Curl
Response
GET https://api.sandbox.publicmint.io/verifications
// Paginated
GET https://api.sandbox.publicmint.io/verifications?page[number]=1&page[size]=1
curl -X GET \
'https://api.sandbox.publicmint.io/verifications?page[number]=1&page[size]=1' \
-H 'apikey: {INSERT API KEY HERE}'
{
"total": 32,
"data": [
{
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
"status": "pending",
"exceptionDetails": "",
"createdAt": "2020-01-09T10:21:05.760Z",
"updatedAt": "2020-01-15T13:12:21.860Z"
}
]
}
Copy link
On this page
The verification object
get
GET /verifications/:id
get
GET /verifications