Customer Data API
The Customer Data API allows you to request views of individual customer data from the customer profile.
Available API Calls
We provide the following API calls:
Method | Summary | Details |
---|---|---|
GET | /one/oauth2/rt/api/2.0/profiles/ | Requests information about an individual customer, stored in the customer profile.The format of the response is controlled by the structure you define. |
Example Use Case: View Customer Data in the Agent Interface at the Call Center
You want to view customer data stored in the AEP in your agent interface. Using a structure, you can control the type and format of information that is made available in that interface.
Example Parameters
Field | Description |
---|---|
Site Key | ONE-NX8P2RSAAU-1813 |
Touchpoint and Context | api://my.touchpoint/customer/interaction |
Customer Key | my-customer-id |
TID | Returned on first request |
Structure | c1st_bank_aep |
Example Structure
This structure makes information about a customers ID, preferred contact method, location, and any activity that customer has undertaken on the companies Touchpoints regarding investments products available in the agent interface. This data could be used to to provide the agent with information about the next best conversation to have with that customer.
Example API Call
Request
Field | Description |
---|---|
Request Method | GET |
Request URL | /one/oauth2/rt/api/2.0/profiles/c1st_bank_aep?sk=ONE-NX8P2RSAAU-1813&ck=CustomerKey |
Request Headers | Authorization header: HTTP Basic. Generated using the credentials supplied for the request, encoded in Base64. Example: Authorization: Basic MmU4ZmVjMGUtMzRmYi00ODUxLTgwMGUtOTk4OTMzMWU1NWQ yOmQ3ZjQ0ODRmLTk4MTctNDc3OC05MTYxLTZlYjA2ZDFmNmNmNw== Content-Type: application/x-www-form-urlencoded |
Response
Expected Response Code
200 SUCCESS
Expected Response Body
{
"Interaction_name":"Apply",
"Geolocation":"New York",
"Activity_Count_Investment_Products":5,
"CustomerID":"CustomerKey",
"ContactID":null
}