POST
/
api
/
v2
/
tasks
Create a new task
curl --request POST \
  --url https://api.vida.dev/api/v2/tasks \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "call",
  "target": "+15551234567",
  "context": "Follow-up call",
  "greeting": "Hello from a task",
  "waitToGreet": true,
  "scheduledFor": 1712350000
}'

Body

application/json
type
string
required
Example:

"call"

target
string
Example:

"+15551234567"

context
string
Example:

"Follow-up call"

greeting
string
Example:

"Hello from a task"

waitToGreet
boolean
Example:

true

scheduledFor
integer
Example:

1712350000

Response

Task created successfully