List case queues and assignees

List the queues and people a message can be assigned to as a case.

GET https://cotlet.dev/api/v1/sprout-social/case-assignees

read

Returns the case queues and the users who can take a case, with the IDs assign_case takes. Use it before assign_case so the queue and assignee you name exist in your account.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/sprout-social/case-assignees \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sprout-social", "list_case_assignees")
Node.js
const result = await cotlet.call('sprout-social', 'list_case_assignees');
CLI
cotlet call sprout-social list_case_assignees

Example response

JSON

{
  "queues": [
    {
      "name": "Customer care"
    },
    {
      "name": "Support"
    }
  ],
  "users": [
    {
      "user_id": "u_204",
      "name": "Marta Weiss"
    },
    {
      "user_id": "u_311",
      "name": "Tom Becker"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.