Skip to main content

List App Registrations

Endpoint​

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

Retrieve a paginated list of all app registrations associated with the authenticated user. You can filter by status, project, and other criteria.

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Params​

NameTypeRequiredDescription
pageintegerNoPage number (default: 1)
limitintegerNoNumber of items per page (default: 10, max: 100)
where_statusstringNoFilter by status (STARTED, ONGOING, COMPLETED, COMPLETED_WITHOUT_KYC, FAILED, NEEDS_MANUAL_VERIFICATION, EXPIRED)
where_projectstringNoFilter by project ID
where_projectFlowstringNoFilter by project flow ID
in_statusarrayNoFilter by multiple statuses (["ONGOING", "COMPLETED"])
populates[]arrayNoPopulate related objects. Available: project, projectFlow, emailValidation, phoneValidation, biometricValidation, documentValidation, informationValidation, person

Request​

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

async function run() {
const res = await fetch("https://api.verifik.co/v2/app-registrations?page=1&limit=10&where_status=ONGOING", {
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": "507f1f77bcf86cd799439011",
"projectFlow": "507f1f77bcf86cd799439015",
"status": "ONGOING",
"email": "user@example.com",
"phone": "1234567890",
"countryCode": "+1",
"currentStep": "1",
"language": "en",
"createdAt": "2024-12-02T17:05:36.788Z",
"updatedAt": "2024-12-02T17:05:36.788Z"
}
],
"total": 1,
"limit": 10,
"page": 1,
"pages": 1
}

Notes​

  • Pagination: Use page and limit parameters to navigate through results. Default limit is 10 items per page, maximum is 100.
  • Filtering: Combine multiple query parameters to filter results. Example: ?where_status=ONGOING&where_project=507f1f77bcf86cd799439011
  • Multiple Statuses: Use in_status as an array to filter by multiple statuses: ?in_status[]=ONGOING&in_status[]=COMPLETED
  • Response Metadata: The response includes total (total count), limit, page, and pages for pagination control.
  • Populates: Use populates[] to include related objects in the response, reducing the need for additional API calls.