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

Find staff

GET
/staff/find

Exact match. Pass exactly one of email or barcode. barcode is any barcode of the staff member (see List a staff member's barcodes) or a staff cash barcode made with Create a staff cash barcode. 404 when no staff member matches; removed staff are not found.

Query parameters

  • emailstring · email

    max 180 characters

  • barcodestring

    max 255 characters

Responses

Success
  • 200 OKStaff

    The staff member.

    8 fields
    • idinteger
    • first_namestring | null
    • last_namestring | null
    • emailstring · email
    • customer_idinteger | null

      The Lynked customer the staff member is, null when they have no Lynked account.

    • discountnumber | null

      The staff member's own discount in percent, the one of their main barcode; null when not set.

    • cash_balancenumber

      Staff cash left to spend; see Create a staff cash barcode.

    • created_atstring · date-time
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 and barcode was given (staff_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/staff/find' \
  -H 'Authorization: Bearer lk_live_...'
Response 200 OK
HTTP/3 200 OK
Content-Type: application/json
Body
{
  "id": 118,
  "first_name": "Dara",
  "last_name": "Kelly",
  "email": "dara.kelly@example.com",
  "customer_id": 1042,
  "discount": 10,
  "cash_balance": 20,
  "created_at": "2026-11-30T09:00:00+00:00"
}