BizKitHub
DokumentationAPI-ExplorerReferral/api/v1/referral/referred-customers
getReferralÖffentliche API v1

/api/v1/referral/referred-customers

Returns a list of customers referred by the given customer (identified by cuRefNo).

referralgetApiV1ReferralReferred-customers

Parameter

1 in der Query

Query-Parameter

· 1
cuRefNostringPflicht

cuRefNo = customer reference number.

Länge: 16
Beispiel1cGIHvFoQDGLAbcA

Antwortschema

1 dokumentierter Statuscode

200Erfolg
itemsobject[]Pflicht
Jedes Array-Element:
cuRefNostringPflicht

cuRefNo = customer reference number.

Länge: 16
Beispiel1cGIHvFoQDGLAbcA
emailstringPflicht

Contact email address.

The system validates the input as a standard email address and automatically applies normalization and canonicalization.

All API responses return the normalized form, and each email address is unique per organisation within the system.

Phone-only contacts: Since 2026-06-10 a contact may exist without an e-mail when it was registered only by phone (e.g. imports of phone-only records). Responses that expose such contacts use API_EMAIL_NULLABLE instead, where this field can be null. Endpoints that accept e-mail as input still require a valid value here — phone-only creation goes through admin-only import / BFF flows.

firstNamestringOptional
BeispielJan
lastNamestringOptional
BeispielBarášek
insertedDateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-10T16:19:40.150Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
lastActivityDateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-10T16:19:40.150Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number

Antwortbeispiel

application/json
{
  "items": [
    {
      "cuRefNo": "1cGIHvFoQDGLAbcA",
      "email": "[email protected]",
      "firstName": "Jan",
      "lastName": "Barášek",
      "insertedDate": "2025-01-10T16:19:40.150Z",
      "lastActivityDate": "2025-01-10T16:19:40.150Z"
    }
  ]
}

Anfragebeispiel

GET /api/v1/referral/referred-customers

get
curl -X GET "https://api.bizkithub.com/api/v1/referral/referred-customers?cuRefNo=1cGIHvFoQDGLAbcA" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten