Skip to main content
POST

Authorizations

token
string
query
required

Vida API Token

Headers

Idempotency-Key
object

Required for submissions over 1,000 targets. Repeating the same key and payload safely resumes or returns that submission.

Body

application/json
target
string
required

Phone in E.164 or VIDA username

Example:

"+1234567890"

content
string
required

Message body

Example:

"Hello from Acme. Your appointment is tomorrow at 10am."

context
string

Optional context for the agent handling the conversation

taskContext
string

Task-specific context for this message

accountId
integer

Optional agent account id override for the message

sourceNumber
string | null

Attached agent phone number with active messaging for this Task and its call/text retries. Omit, null or blank uses automatic routing. Overrides Contact pins for this Task only. Quota or unavailable lines delay the Task without switching numbers.

agentId
integer

Optional campaign id override

scheduledFor
integer

Unix seconds to schedule delivery

goal
object | null

Task-specific goal with completionCriteria. Omit or pass null to use the organization default.

retryPolicy
object | null

Task-specific cadence using delaysSeconds or mixed-channel steps, retryOn, and optional responseTimeoutSeconds. Omit or pass null to use the organization default.

meta
object

Optional Task metadata. meta.contact fills missing structured Contact fields at creation; existing values are preserved. For multiple targets, set contact data in meta.contact on each target object. Per-item meta replaces the entire top-level meta object; it is not deep-merged.

externalTaskId
string

Reusable customer correlation/grouping ID; not an idempotency key

contactListName
string

Optional Contact List to enroll the contact into

Response

Queued successfully

success
boolean
Example:

true

message
string
Example:

"Outbound SMS initiated."

inserted
integer
Example:

3

batchId
string
Example:

"f52b1e01-5cbc-483c-9939-3bf7d37e1426"

tasks
object[]