---
title: "Set contact attributes"
method: PUT
path: "/inbox/v2/contact/{contactProfileId}/contact-attributes"
tags: ["Inbox"]
---

# Set contact attributes

`PUT /inbox/v2/contact/{contactProfileId}/contact-attributes`

## Request

- Base URL: `https://platform.hootsuite.com`
- URL: `https://platform.hootsuite.com/inbox/v2/contact/{contactProfileId}/contact-attributes`
- Auth: OAuth 2
  - Authorization code: `https://platform.hootsuite.com/oauth2/auth`
  - Token URL: `https://platform.hootsuite.com/oauth2/token`

Update the contact attributes of a contact profile.

## Path parameters

- `contactProfileId` string, required

## Request body

- CrmLookupAttributesResponse
  - `autoConfirm` boolean: The `autoConfirm` field tells Inbox 2.0 to automatically save the attributes without having to use the `Confirm` button.
  - `contactAttributes` unknown[]: Array of JSON objects containing the lookup attributes
    - unknown

## Response `200`

Success

- object

## Other responses

- `400`: The request is malformed.
- `401`: Unauthorized: when using an invalid or expired access token.
- `404`: Contact profile not found in organization

---

[API](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api.md) - [All operations](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/revisions/adac53bd28bb?raw)
