The Lynked Public API is in development. Endpoints will appear here as they go live.

Find a customer

GET
/customers/find

Exact match. Pass exactly one of email, phone or barcode; the phone may contain +, spaces or dashes. barcode is a Lynked customer barcode (lynked_…) shown by the Lynked app or made with Create a barcode, with or without rewards. 404 when no customer matches.

Query parameters

  • emailstring · email
  • phonestring
  • barcodestring

    max 255 characters

Responses

Success
  • 200 OKCustomer

    The customer.

    10 fields
    • idinteger

      The customer id.

    • emailstring | null · email

      null when the customer has no real email (added with a phone only).

    • phonestring | null

      Digits only, with the country code, no +.

    • first_namestring
    • last_namestring
    • date_of_birthstring | null · date
    • The customer's gender as they gave it.

      One of "female""male""other""not_specified"

    • is_app_userboolean

      true when the customer has signed in to the Lynked app; false for customers added in the seller app, by an import or through this API who have not signed in yet.

    • groupsarray of CustomerGroupRef

      Customer groups the customer belongs to.

      2 fields
      • idinteger

        The group id.

      • namestring

        The group name, as in the dashboard.

    • created_atstring · date-time

      When the customer's Lynked account was created.

Errors
  • 401 UnauthorizedError

    The API key is missing, invalid or revoked.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 403 ForbiddenError

    The Public API is disabled for this business.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 404 Not FoundError

    The resource does not exist or does not belong to this business.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 422 Unprocessable EntityValidationError

    Not exactly one of email, phone and barcode was given (customer_lookup_invalid).

    4 fields
    • messagestring

      All problems in one line.

    • errorsobject

      Request field path → its problems.

    • error_codestring

      undefined for validation errors for now; see Errors for the list of codes.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 429 Too Many RequestsRateLimitError

    More than 120 requests per minute for this business.

    Headers
    • Retry-Afterinteger

      Seconds to wait before the next request.

    4 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

    • retry_afterinteger

      Seconds to wait before the next request; the same value as the Retry-After header.

  • 500 Internal Server ErrorError

    Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the error_uid.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

Request
curl 'https://api.lynked.ie/api/public/v1/customers/find' \
  -H 'Authorization: Bearer lk_live_...'
Response 200 OK
HTTP/3 200 OK
Content-Type: application/json
Body
{
  "id": 1042,
  "email": "anna@example.com",
  "phone": "353870000001",
  "first_name": "Anna",
  "last_name": "Byrne",
  "date_of_birth": "1990-05-17",
  "gender": "female",
  "is_app_user": true,
  "groups": [
    {
      "id": 7,
      "name": "VIP"
    }
  ],
  "created_at": "2026-01-01T12:00:00Z"
}