Add Member
/api/v1/queues/{id}/membersAdds one user to a queue, as either an agent or a manager.
Use this rather than Update when adding a single person: it will not disturb the other members and is safe when several additions happen at once.
A user may hold both roles on the same queue: add them twice with different membershipRole values. Adding someone who already holds that exact role returns 409; use Remove Member with membershipRole to drop one role without the other.
If the queue assigns automatically, a new agent starts receiving waiting conversations right away.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
idstringrequiredQueue ID.
Example:
userIdstringrequiredUser ID from User → Listing.
membershipRolestringrequiredagentreceives conversations;managersupervises the queue.Allowed values:"agent", "manager"
Responses
201Created
Created
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
dataobjectrequiredChild attributes
userIdstringrequirednamestringrequiredemailstringrequiredmembershipRolestringrequiredagentreceives conversations from the queue;managersupervises it.Allowed values:"agent", "manager"
401Unauthorized
Unauthorized
messagestringrequired
404Not Found
Not Found
messagestringrequired
409Conflict
Conflict
messagestringrequired
429Too Many Requests
Too Many Requests
messagestringrequired