Skip to main content
POST
Create one-off tasks in bulk
One task per contact, for up to 500 contacts at once. Every task shares the same action, due date, priority, assignee, subject and note.

Handling the response

tasks holds the created tasks (left empty here for brevity). Check skipped on every call: a contact that cannot be used is reported there, and the rest are still created.

Good to know

  • A contact listed twice gets two tasks. Remove duplicates from contacts first.
  • Call tasks are queued for the assignee’s dial list once for the whole batch.
  • Send an Idempotency-Key. A retry without one creates every task again.
  • For more than 500 contacts, send batches of 500, each with its own key.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.

Headers

Idempotency-Key
string

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

application/json
user_id
string
required

The team member this call acts as. Must be an active member of the team the API key belongs to. Recorded as the task's creator.

Example:

"507f1f77bcf86cd799439011"

action
enum<string>
required

What the task asks for. call is placed on the assignee's Sequencer dial list. Completing manual_email sends a real email. generic is a plain to-do. linkedin_connect, linkedin_message, linkedin_view, linkedin_interact, meeting and sms are reminders: nothing is sent or dialed for them.

Available options:
call,
manual_email,
generic,
linkedin_connect,
linkedin_message,
linkedin_view,
linkedin_interact,
meeting,
sms
due_at
string<date-time>
required

ISO 8601 instant, at most 365 days ahead. A time up to 5 minutes in the past is accepted, to absorb clock skew and latency; anything earlier returns due_at cannot be in the past. Convert the rep's local date and time to an instant yourself.

contacts
string[]
required

Contact ids, 1 to 500. One task is created per entry, so a contact listed twice gets two tasks. Ids not on your team are returned in skipped.

Maximum array length: 500
priority
enum<string>
default:medium

Priority band. Defaults to medium.

Available options:
high,
medium,
low
assignee_id
string

Who holds the task, as a team member id. Must be a member of the team. Defaults to user_id.

subject
string

Short title. For a manual_email task, also the email's subject line.

Maximum string length: 998
note
string

Instructions for whoever works the task.

Maximum string length: 2000

Response

Created and skipped contacts.

created
integer
required

Tasks created.

tasks
object[]
required

The created tasks, with contact and sequence expanded.

skipped
object[]
required

Contacts that got no task, with the reason.