Contact Attributes
Contact Attributes is used to display a list of contact attributes that you want to display as a 3rd party application. Whilst Amazon Connect guides can be used to display contact attributes this approach shows how data can be shared into a 3rd party application as the information is passed to the component using the Agent Workspace SDK
Example
View configuration
Set the below recommended settings
App Name
= dynamicPath
= dynamicHeight
= 200px
GET/v1/contactAttributes
Display a container with contact attributes
This endpoint will display the contact attributes for the current contact that is within the Provider (Agent Workspace) scope
Optional attributes
- Name
filter
- Type
- string
- Description
Provide a comma separated list of contact attribute keys that you'd like to display. Default is "*"
Request
GET
/v1/contactAttributes{
"AppIdentifier":"Toolkit",
"Path":"v1/contactAttributes?filter=cxOrderId,cxCustomerFirstName,cxLocation,cxChannel,cxCaseRef,cxReasonForContact"
}