AI Sync

Bulk Actions

Run Bulk Action

POSThttps://app.aisync.link/api/contacts/bulk-execute
Run Bulk Action
curl --request POST \
  --url https://app.aisync.link/api/contacts/bulk-execute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "add_tag",
  "tag_ids": [
    2
  ],
  "powerlist_id": 1
}'
{
  "message": "Tags applied to 25 contact(s).",
  "success": true,
  "affected": 25
}

Run Bulk Action#

Runs one action on the contacts selected by the same filters as preview.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

actionstringbodyrequired

add_tag, remove_tag, move_powerlist, or delete_contacts

tag_idsinteger[]body

Required for tag actions

target_powerlist_idintegerbody

Required for move_powerlist

powerlist_idintegerbody

Filter

import_idintegerbody

Filter

tag_idintegerbody

Filter

curl --request POST \
  --url https://app.aisync.link/api/contacts/bulk-execute \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "add_tag",
  "tag_ids": [
    2
  ],
  "powerlist_id": 1
}'
messagestring

What the action changed

affectedinteger

Contacts changed. Tag actions return the same count under their own key