Used to get a list of potential queues to add people to

GET /workqueues/{filter}

When you want to use workflows or work queues get the list of details you need. The workflows are ones that have a trigger of 'manual, from the mobile app' and the user has access to it. The work queues are only ones the logged in user can use. This is determined by:

  • the user created the work queue
  • the user is full/admin user of a group that is the owner of the work queue
  • the user is full/admin user of a group that is allowed to add to this work queue

Path parameters

  • filter string Required

    How we filter the list. If not supplied, both workflow and workqueues are loaded

    Values are workqueue or workflow.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • work_queues array[object]

      All workflow/workqueues are currently returned in a list with the parameter name work_queues

      Hide work_queues attributes Show work_queues attributes object
      • queue_id integer

        When this value is 0, this object is a workflow When this value is not 0, the object is a workqueue

      • queue_name string
      • queue_purpose string
      • workflow_id integer
      • workflow_name string
GET /workqueues/{filter}
curl \
 --request GET 'https://YOURSITE.infoodle.com/apiv2/workqueues/workqueue' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "work_queues": [
    {
      "queue_id": 0,
      "queue_name": "New Contact",
      "queue_purpose": "Process a new contact record",
      "workflow_id": 17,
      "workflow_name": "New Contact"
    }
  ]
}