Async tasks
List async tasks
GET /async_tasks
GET
/async_tasksReturns the background tasks of the account, newest first, each with its type, status and progress. A task is created when you call one of the asynchronous operations on groups and segments (for example async_task_group_export or async_task_segment_add_to_group).
When to use: To find a task whose UUID you did not keep, or to see what is still running.
When not to use: To follow one task whose UUID you know use get_async_task.
Permissions: Requires the viewer role or higher, or the marketing.audiences.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/async_tasks" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "type": "string", "status": "pending", "total": 0, "processed": 0, "errored": 0, "progress": 0.1, "error_message": "string", "result_meta": {}, "result_file": "string", "result_file_url": "http://example.com", "started_at": "string", "finished_at": "string", "created_at": "string" }]