Digitalsac DigiCrm icon

Digitalsac DigiCrm

Interact with the Digitalsac DigiCrm API (WhatsApp, tickets, scheduling, WABA templates and more).

Actions396

Wallet → Next Assignee in Queue

AI-generated

Summary

Retrieve the next assignee in a specified queue from the Digitalsac DigiCrm system using a connection UUID and detailed query parameters.

Inputs

  • param (required) — Connection UUID identifying the specific WhatsApp connection to use for the query.
  • bodyData (required) — JSON payload containing parameters for querying the next assignee: mandatory 'queueId' (ID of the queue), 'method' (method to use), and optional 'ticketId' (ID of the ticket) and 'allowOffline' (boolean to allow offline agents).

Output shape

a single JSON object representing the next assignee's information from the queue.

The operation requires the 'param' (connection UUID) and 'bodyData' JSON payload; it sends a POST request to the endpoint /v1/api/external/{param}/next-assignee. Returns one JSON object with the assignee details or an error if the parameter is missing or request fails.

Examples

Example 1: Get next assignee in queue

Set 'param' to the WhatsApp connection UUID and 'bodyData' to include queueId, method, optional ticketId, and allowOffline flag. Execute to receive the next assignee object.

Links

Discussion