GET
/
v1
/
customers
/
{id}
curl --request GET \
  --url https://prod01.copilot.fabric.inc/data-subscription/v1/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "62cffd65e8d7eb868c6a29d6",
  "customerReferenceId": "12345",
  "locale": "en_US",
  "email": "customer@example.com",
  "contactNumber": "+923333709568",
  "firstName": "Pat",
  "middleName": "E",
  "lastName": "Kake",
  "segment": [
    "employee"
  ],
  "employeeId": "345",
  "communicationPreference": {
    "email": true,
    "sms": true
  },
  "status": "ACTIVE",
  "createdAt": "2021-10-12T21:35:05.756Z",
  "updatedAt": "2021-10-14T05:40:55.997Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Customer ID

Example:

"62cffd65e8d7eb868c6a29d6"

Response

200
application/json
Request processed successfully

Customer details after creation