OnLink
API reference

List and search your customers

A page of your customers, newest first. Every filter is optional. q searches display name, legal name, email, phone number and your externalRef (2 to 100 characters, case-insensitive, matches anywhere); externalRef matches yours exactly. Pass the response’s nextCursor as cursor for the next page; limit defaults to 50 and is capped at 100.

GET
/v1/customers

Authorization

partner-key
X-OnLink-Key<token>

In: header

Query Parameters

status?string

Only customers at this status.

Value in

  • "pending_kyc"
  • "kyc_in_review"
  • "needs_info"
  • "awaiting_terms"
  • "verified"
  • "rejected"
  • "suspended"
  • "closed"
q?string

Search by name, email, phone number or your own externalRef: a case-insensitive "contains" match. 2 to 100 characters.

Length2 <= length <= 100
externalRef?string

Your own id for the customer, matched exactly.

Lengthlength <= 64
cursor?string

The nextCursor of the previous page. Opaque: pass back only a value this list gave you.

Lengthlength <= 200
limit?number

Page size. Defaults to 50; a value above 100 is treated as 100.

Range1 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/customers"
{  "data": [    {      "id": "5f0c1a3e-2d4b-4c6a-8e9f-0a1b2c3d4e5f",      "type": "individual",      "status": "pending_kyc",      "externalRef": "acme-cust-0042",      "displayName": "Amina Wanjiru",      "email": "amina@example.com",      "phone": "+447700900123",      "countryOfResidence": "GB",      "legalName": null,      "createdAt": "2026-11-17T09:30:00.000Z",      "updatedAt": "2026-11-17T09:30:00.000Z",      "closedAt": null    }  ],  "nextCursor": null}