Get all Tasks
GET https://{{base_url}}/v3/user/assignments?query={"type":"workflow_stage"}
The Get all Tasks request retrieves a list of all tasks assigned to you.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Get all Tasks API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
query | string | Enter the actual query that will be executed to retrieve the tasks. This query should be in JSON format. Example: |
{"job.publishing_rule.status":0}: retrieves pending approval requests
{"type":"workflow_stage"}: retrieve tasks based on Workflow Stages
{"job.workflow_stage.uid": "workflow_stage_uid"}: retrieve tasks based on a specific Workflow Stage 
{"content_type":"content_type_uid", "type": "publishing_rule"}: retrieve tasks based on multiple conditions
|
| sort
| string | | Enter the field UID on the basis of which you want to sort your tasks. Example: {"assigned_at": "desc"}, {"content_type": "asc"}, or {"assigned_date": "desc", "locale":"asc"}
|
| limit
| number | | Enter the maximum number of tasks that you want to retrieve in the response. |
| skip
| number | | Enter the number of tasks to be skipped. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | ||
authtoken | string | Enter your authtoken. | |
Content-Type | string | Enter "application/json" to pass a request body. |