---
title: "Update Audience contact"
method: PUT
path: "/v1/audiences/{id}/contacts/{contact_id}"
tags: ["Contact Management"]
---

# Update Audience contact

`PUT /v1/audiences/{id}/contacts/{contact_id}`

## Request

- Base URL: `https://api.dexatel.com`
- URL: `https://api.dexatel.com/v1/audiences/{id}/contacts/{contact_id}`
- Auth: API key in header `X-Dexatel-Key`

## Request body

- ContactPutRequestWrapper
  - `data` object, required
    - `first_name` string: First name of the contact. Maximum 32 characters
    - `last_name` string: Last name of the contact. Maximum 32 characters
    - `custom1` string: Custom short attribute of the contact. Maximum 32 characters
    - `custom2` string: Custom long attribute of the contact. Maximum 70 characters

## Response `200`

OK

- ContactPostResponseDto
  - `data` object
    - `id` string, uuid: Unique identifier of the contact
    - `account_id` string, uuid: Unique identifier of the account
    - `audience_id` string, uuid: Unique identifier of the audience
    - `number` string: Phone number of the contact
    - `first_name` string: First name of the contact
    - `last_name` string: Last name of the contact
    - `custom1` string: Custom short attribute of the contact
    - `custom2` string: Custom long attribute of the contact
    - `create_date` string, date-time: Creation date of the contact in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `update_date` string, date-time: Update date of the contact in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `links` object
      - `self` string: URL of the requested resource
      - `account` string: URL of the account
      - `audience` string: URL of the audience

## Other responses

- `400`: **Bad Request:** Code Message Description 1352 Invalid contact identifier Should be valid UUID 1361 'data.first\_name' is too long First name must be at most 32 characters 1362 'data.last\_name' is too long Last name must be at most 32 characters 1363 'data.custom1' name is too long Custom 1 must be at most 32 characters 1364 'data.custom2' name is too long Custom 2 must be at most 70 characters
- `404`: **Not Found:** Code Message 1351 Contact is not found

---

[API](https://skmtc.dev/dexatel/apis/contacts-and-messaging.md) - [All operations](https://skmtc.dev/dexatel/apis/contacts-and-messaging/llms.txt) - [OpenAPI document](https://skmtc.dev/dexatel/apis/contacts-and-messaging/revisions/f07e4f03a129?raw)
