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"
}
Get details of single customer, specified by customer 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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Customer ID
"62cffd65e8d7eb868c6a29d6"
Request processed successfully
Customer details after creation
Was this page helpful?