Skip to main content
POST
/
contacts
/
bulk-update
Bulk Update Contacts
curl --request POST \
  --url https:/api.autosend.com/v1/contacts/bulk-update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contacts": [
    {
      "email": "[email protected]",
      "firstName": "John",
      "lastName": "Doe",
      "userId": "user_12345",
      "customFields": {
        "company": "Acme Corp",
        "role": "Developer",
        "plan": "premium"
      }
    }
  ],
  "runWorkflow": false
}'
{
  "success": true,
  "data": {
    "successCount": 1,
    "failedCount": 0,
    "totalCount": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Array of contacts to update or create

contacts
object[]
required

Array of contact objects (minimum 1, maximum 100)

Required array length: 1 - 100 elements
runWorkflow
boolean
default:false

Whether to trigger workflows for updated contacts

Example:

false

Response

200 - application/json

Bulk update completed

success
boolean
Example:

true

data
object