

# Get the attributes of a contact in Amazon Connect Agent Workspace
<a name="3P-apps-contact-requests-getattributes"></a>

Returns a map of the attributes associated with the contact in the Amazon Connect Agent Workspace. Each value in the map has the following shape: `{ name: string, value: string }`.

```
// example { "foo": { "name": "foo", "value": "bar" } }         
```

```
getAttributes(
  contactId: string,
  attributes: ContactAttributeFilter,
): Promise<Record<string, string>>
```

```
ContactAttributeFilter is either string[] of attributes or '*'        
```

 **Permissions required:** 

```
Contact.Attributes.View              
```