Queue
Enqueue a background task
Dispatch a background task to the project's Blink Backend handler (POST /api/queue). Use options.queue for named FIFO queues with parallelism control. Billed at 0.001 credits per enqueue. Requires Pro+ plan.
post/api/queue/{project_id}/enqueue
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/queue/{project_id}/enqueue
- AuthHTTP bearer
Path parameters
project_idstring required
Example:my-project-123
Unique identifier for the project
Request body
Example request
{
"taskName": "send-welcome-email",
"payload": {
"to": "user@example.com",
"name": "Alice"
},
"options": {
"queue": "emails",
"delay": "5m",
"retries": 3,
"timeout": "30s"
}
}Response
Task enqueued
Example response
{
"taskId": "tsk_aBcDeFgHiJkL",
"status": "pending",
"messageId": "msg_01jx3k2f9h7q"
}Changes
No recorded changes to this operation across all 1 revision of this API.