---
updatedAt: 2026-06-15T14:41:25.000Z
agentTools:
  projectIndex: https://developers.dexatel.com/llms.txt
---

# Update Single Audience

<br />

<TitleSetter title="Update Single Audience | Dexatel API" />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Contacts and Messaging",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.dexatel.com",
      "description": "Server base url"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v1/audiences/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/id"
        }
      ],
      "put": {
        "tags": [
          "Contact Management"
        ],
        "summary": "Update Single Audience",
        "operationId": "update_audience",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudiencePutRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudienceResponseWrapperDto"
                }
              }
            }
          },
          "400": {
            "description": "<p><strong>Bad Request:</strong> <table> <tr> <th>Code</th> <th>Message</th> <th>Description</th> </tr> <tr> <td>1302</td> <td>Invalid audience identifier</td> <td>Should be valid UUID</td> </tr> </table>"
          },
          "404": {
            "description": "<p><strong>Bad Request:</strong> <table> <tr> <th>Code</th> <th>Message</th> <th>Description</th> </tr> <tr> <td>1303</td> <td>'data.audience' name is required</td> <td>Audience name is required</td> </tr> <tr> <td>1304</td> <td>'data.name' is invalid</td> <td>Only letters, numbers, and (- _) are allowed</td> </tr> <tr> <td>1305</td> <td>'data.name' is too long</td> <td>Audience Name must be at most 45 characters</td> </tr> </table>"
          },
          "409": {
            "description": "<p><strong>Conflict:</strong> <table> <tr> <th>Code</th> <th>Message</th> </tr> <tr> <td>1309</td> <td>Audience already exists</td> </tr> </table>"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "id": {
        "in": "path",
        "name": "id",
        "required": true,
        "schema": {
          "type": "string",
          "description": "Unique identifier of the resource - {id}"
        }
      }
    },
    "schemas": {
      "EnumChannels": {
        "type": "string",
        "enum": [
          "SMS",
          "VIBER",
          "WHATSAPP"
        ]
      },
      "EnumAudienceStatuses": {
        "type": "string",
        "enum": [
          "PENDING",
          "READY"
        ]
      },
      "AudienceResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the audience"
          },
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the account"
          },
          "name": {
            "type": "string",
            "description": "Name (unique identifier) of the audience"
          },
          "channel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnumChannels"
              },
              {
                "description": "Channel of the audience. Enumeration values [SMS, VIBER, WHATSAPP]"
              }
            ]
          },
          "create_date": {
            "type": "string",
            "format": "date-time",
            "description": "Creation date of the audience in UTC, formatted as yyyy-mm-dd hh:mm:ss"
          },
          "update_date": {
            "type": "string",
            "format": "date-time",
            "description": "Update date of the audience in UTC, formatted as yyyy-mm-dd hh:mm:ss"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnumAudienceStatuses"
              },
              {
                "description": "Status of the audience. Enumeration values [PENDING, READY]"
              }
            ]
          }
        }
      },
      "AudienceResponseContactsInfoDto": {
        "type": "object",
        "properties": {
          "contacts_count": {
            "type": "integer",
            "format": "int32",
            "description": "Saved contacts count"
          },
          "total_contacts": {
            "type": "integer",
            "format": "int32",
            "description": "Initial contacts count"
          },
          "valid_contacts": {
            "type": "integer",
            "format": "int32",
            "description": "Valid contacts count"
          },
          "duplicate_contacts": {
            "type": "integer",
            "format": "int32",
            "description": "Duplicate contacts count"
          }
        }
      },
      "AudienceResponseWrapperDto": {
        "type": "object",
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AudienceResponseDto"
              },
              {
                "$ref": "#/components/schemas/AudienceResponseContactsInfoDto"
              },
              {
                "properties": {
                  "links": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/LinksSelf"
                      },
                      {
                        "$ref": "#/components/schemas/LinksAccount"
                      },
                      {
                        "$ref": "#/components/schemas/LinksContact"
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      },
      "AudiencePutRequestDto": {
        "required": [
          "data"
        ],
        "type": "object",
        "properties": {
          "data": {
            "required": [
              "name"
            ],
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 45,
                "description": "Name (unique identifier) of the audience. Maximum 45 characters"
              }
            }
          }
        }
      },
      "LinksSelf": {
        "type": "object",
        "properties": {
          "self": {
            "type": "string",
            "description": "URL of the requested resource"
          }
        }
      },
      "LinksAccount": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "description": "URL of the account"
          }
        }
      },
      "LinksContact": {
        "type": "object",
        "properties": {
          "contacts": {
            "type": "string",
            "description": "URL of the contact"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Dexatel-Key"
      }
    }
  }
}
```