Bulk update contacts

  • We now allow users to pass a set of contacts with their updated fields in one single API call via a JSON payload.
  • Each contact can have different fields overwriten/updated through this call.
  • In a single call each contact can be identified with a mix of id or email or sms

Example

1curl --request POST \
2 --url https://api.sendinblue.com/v3/contacts/batch \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json' \
5 --data '
6{
7 "contacts": [
8 {
9 "attributes": {
10 "flagged": "true"
11 },
12 "listIds": [
13 12
14 ],
15 "email": "contact1@gmail.com",
16 "emailBlacklisted": false
17 },
18 {
19 "attributes": {
20 "flagged": "false",
21 "FNAME": "John"
22 },
23 "id": 543
24 }
25 ]
26}
27'