Create a messaging queue
POST
/org/{tenant_code}/v2/messaging/queues
Platform support: MT
Token Cost: 2 tokens (low)
Creates a messaging queue and returns it with its generated identifier and resolved members.
Members are submitted in agents, and every entry must carry a
prefix, written exactly as shown and case-sensitive:
Agent/{extensionUserId} for a single agent, where
{extensionUserId} is the UUID identifying their extension, or
Department/{departmentId} to add every agent of a department by its
numeric id.
Request
Responses
- 201
- 400
- 401
- 404
- 409
- 500
Queue created.
Input failed validation.
Missing or invalid X-User-Identity header.
Unknown tenant.
A queue with the same name already exists.
Unhandled server-side error.