Skip to main content

Get App Registration

Endpoint​

GET https://api.verifik.co/v2/app-registrations/{id}

Retrieve detailed information about a specific app registration by its ID. You can populate related objects like validations, project, and project flow.

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Params​

NameTypeRequiredDescription
idstringYesThe unique identifier of the app registration
populates[]arrayNoPopulate related objects. Available: project, projectFlow, emailValidation, phoneValidation, biometricValidation, documentValidation, informationValidation, person, face, documentFace, compareFaceVerification, cryptoValidation, formSubmittion, signature, accessControlLog

Request​

const fetch = require("node-fetch");

async function run() {
const appRegistrationId = "674de8df21c72be3cc42b8a7";
const res = await fetch(`https://api.verifik.co/v2/app-registrations/${appRegistrationId}?populates[]=project&populates[]=projectFlow&populates[]=emailValidation`, {
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(await res.json());
}

run();

Response​

{
"data": {
"_id": "674de8df21c72be3cc42b8a7",
"client": "507f1f77bcf86cd799439013",
"project": {
"_id": "507f1f77bcf86cd799439011",
"name": "Example Project"
},
"projectFlow": {
"_id": "507f1f77bcf86cd799439015",
"type": "onboarding",
"target": "personal"
},
"status": "ONGOING",
"email": "user@example.com",
"phone": "1234567890",
"countryCode": "+1",
"currentStep": "1",
"language": "en",
"emailValidation": {
"_id": "674de8df21c72be3cc42b8a8",
"email": "user@example.com",
"status": "validated"
},
"phoneValidation": {
"_id": "674de8df21c72be3cc42b8a9",
"phone": "1234567890",
"status": "validated"
},
"biometricValidation": null,
"documentValidation": null,
"informationValidation": {
"_id": "674de8df21c72be3cc42b8a10",
"fullName": "John Doe",
"firstName": "John",
"lastName": "Doe"
},
"createdAt": "2024-12-02T17:05:36.788Z",
"updatedAt": "2024-12-02T17:05:36.788Z"
}
}

Notes​

  • Populates: Use populates[] query parameter to include related objects in the response. This reduces the need for additional API calls.
  • Token Access: When using an app registration token, you can access your own registration by using the /me endpoint or by omitting the ID.
  • Status Values: Status can be STARTED, ONGOING, COMPLETED, COMPLETED_WITHOUT_KYC, FAILED, NEEDS_MANUAL_VERIFICATION, or EXPIRED.
  • Related Objects: Populated objects include full details instead of just ObjectId references.