Skip to main content
POST
/
contacts
/
bulk-update
curl --request POST \
  --url https://api.autosend.com/v1/contacts/bulk-update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contacts": [
    {
      "email": "john.doe@example.com",
      "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
  }
}
curl --request POST \
  --url https://api.autosend.com/v1/contacts/bulk-update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contacts": [
    {
      "email": "john.doe@example.com",
      "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

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

Array of contacts to update or create
contacts
object[]
required
Array of contact objects (minimum 1, maximum 100)
Maximum 100 contacts per request.
runWorkflow
boolean
Whether to trigger workflows for updated contactsExample: false

Response

Bulk update completed
success
boolean
Example: true
data
object