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

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 metadata

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[]