Finish or pause everyone at an account
Finishes or pauses the enrollments of everyone at one company — the “we just booked a meeting there, stop emailing the rest” case. Send dry_run: true first: it returns how many enrollments would change and changes nothing.
Name the account with contact, domain or company_name; if you send more than one, contact wins, then domain. domain matches contacts whose email address is at that domain. company_name matches contacts whose company name is the same once case, punctuation and suffixes such as Inc or LLC are ignored. contact uses that contact’s company: its company record if it has one, otherwise its corporate email domain or website, otherwise its company name. Personal email domains such as gmail.com never identify a company.
finish ends every live enrollment (pending, active or paused). pause pauses only active ones, for days days or until someone resumes them. scope: sequence limits the action to sequence and needs the sequence’s author, the team owner or a team admin as user_id; scope: team covers every sequence and needs the team owner or a team admin.
Unless it is a dry run or nothing matched, the change is queued (queued: true) and the enrollments change in the background a moment later. One call considers at most 2,000 contacts at the account and changes at most 500 enrollments; if matched is above 500, call again once the first batch has gone through. Each changed enrollment gets an account_action timeline event carrying reason. Counts toward the Sequencer writes rate limit.
Dry run first
This can touch many people, so senddry_run: true first. It counts the enrollments that would change and changes nothing:
account is the company you meant and matched is the size you expect, then send the same body without dry_run, with an Idempotency-Key and a reason. The response then has queued: true, and the enrollments change in the background a moment later.
Naming the account
Send one of these. If you send more than one,contact wins, then domain.
What changes
account_action event on its timeline, carrying your reason.
Limits
One call considers at most 2,000 contacts at the account and changes at most 500 enrollments. Ifmatched is above 500, call again once the first batch has gone through; enrollments already finished or paused no longer match.Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.
Headers
Makes this write safe to retry. Send a unique value, such as a UUID, and send the same value again when you retry the same request. A retry with the same key and the same request (method, path including the query string, and JSON body) returns the original successful response without acting twice. The same key with a different body or path returns 409, and so does a retry while the first request is still running; that one is safe to repeat after a moment. A request that fails frees its key, so a retry runs the write again: after a 5xx on a create, confirm with a GET before retrying. Keys are kept for 24 hours and are scoped to your team.
Body
The team member this call acts as. Must be an active member of the team the API key belongs to.
"507f1f77bcf86cd799439011"
finish ends every live enrollment at the account. pause pauses the active ones.
finish, pause sequence limits it to one sequence and needs the sequence's author, the team owner or a team admin as user_id. team covers every sequence the team runs and needs the team owner or a team admin.
sequence, team A contact on your team; the action targets that contact's company. Send this, domain or company_name. When more than one is sent, contact wins, then domain.
A company domain, such as acme.com. A URL or www. prefix is stripped. Matches contacts whose email address is at this domain.
253A company name. Matches contacts with the same company name once case, punctuation and suffixes such as Inc or LLC are ignored.
200The sequence to act on. Required when scope is sequence, and ignored otherwise.
How long a pause lasts, in whole days; the enrollments resume themselves after it. Leave it out to pause until someone resumes them. Ignored for finish.
1 <= x <= 365Why. Recorded on each changed enrollment's account_action timeline event.
500Count the enrollments that would change, and change nothing.
Response
How many enrollments matched, and whether the change was queued.
The account the action resolved to. kind is company (a company record id), domain (an email domain) or name (a normalized company name).
Enrollments the action applies to: every live enrollment for finish, every active one for pause.
True when the change was queued. False for a dry run, or when nothing matched.