---
title: "Update multiple contacts"
method: POST
path: "/contacts/batch"
tags: ["Contacts"]
---

# Update multiple contacts

`POST /contacts/batch`

## Request body

- UpdateBatchContacts
  - `contacts` UpdateBatchContactsContacts[] — List of contacts to be updated
    - `email` string, email — Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)
    - `id` integer — id of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)
    - `sms` string — SMS of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)
    - `ext_id` string — Pass your own Id to update ext_id of a contact.
    - `attributes` object — Pass the set of attributes to be updated. **These attributes must be present in your account**. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, **{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}**. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in **SMS** field should be passed with proper country code. For example: **{"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}**
    - `emailBlacklisted` boolean — Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)
    - `smsBlacklisted` boolean — Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)
    - `listIds` integer[] — Ids of the lists to add the contact to
    - `unlinkListIds` integer[] — Ids of the lists to remove the contact from
    - `smtpBlacklistSender` string[] — transactional email forbidden sender for contact. Use only for email Contact

## Response `204`

All contacts updated

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
