Body
application/json
Response
Task created successfully
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
}'
Submit a new task (call, text, ping). For calls/texts, target is required.
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
}'
Task created successfully