Skip to main content
POST
/
api
/
v1
/
crm
/
sync-accounts-job
Sync Accounts Job
curl --request POST \
  --url https://api.openfunnel.dev/api/v1/crm/sync-accounts-job \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --header 'X-User-ID: <x-user-id>' \
  --data '
{
  "account_ids": [
    123
  ],
  "assigned_user_email": "<string>"
}
'
{
  "job_id": "<string>",
  "status": "<string>",
  "message": "<string>",
  "connected_crm": "<string>",
  "total_records": 123
}

Headers

X-API-Key
string
required
X-User-ID
string
required

Body

application/json
account_ids
integer[]
required

Account IDs to sync to CRM

Required array length: 1 - 500 elements
assigned_user_email
string | null

Email of user to assign CRM records to. If omitted, assigns to authenticated user.

Response

Successful Response

job_id
string
required
status
string
required
message
string
required
connected_crm
string
required
total_records
integer
required