1. Automation Queue
  • Getting Started
    • Introduction
    • Quickstart
    • Authentication
    • Status codes
  • Webhook
    • Webhook Setup
    • Webhook Events and Schema
  • SDKs
    • @klink.cloud/call-sdk
  • API Reference
    • Contact
      • Listing
      • Create
      • Filter By SocialPlatformId
      • Form Fields
      • Detail
      • Update
      • Delete
      • Fetch Contact Groups
      • Update tags
    • Tag
      • Listing
    • Channel
      • Listing
      • Create
    • Ticket
      • Listing
      • Create
      • Filter by Contact ID
      • Form Fields
      • Update
      • Update status
    • Category
      • Listing
    • CxLog
      • Listing
    • Message
      • Send message
      • Create comments
      • Get Comments
    • Media Manager
      • Get Folders
      • Get Folder By ID
      • Create Folder
      • Update Folder
      • Delete Folder
      • Get Files
      • Get File By ID
      • Create File
      • Update File
      • Delete File
    • Agent Activity
      • Get Agents Activities
    • Telephony
      • Get Telephony CDR
    • User
      • Create
      • Listing
      • Detail
      • Update
      • Delete
    • Automation Queue
      • Create
        POST
      • Listing
        GET
      • Detail
        GET
      • Update
        PATCH
      • Delete
        DELETE
      • Add Member
        POST
      • Remove Member
        DELETE
    • Role
      • Listing
Blog
Github
  1. Automation Queue

Add Member

POST
/api/v1/automation-queues/{id}/members
Adds 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.
Adding someone who is already in that role returns 409. A user may hold both roles on the same queue — add them twice with different membershipRole values.
If the queue assigns automatically, a new agent starts receiving waiting conversations right away.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/json

Examples

Responses

🟢201
application/json
Bodyapplication/json

🟠401Unauthorized
🟠429Too Many Requests
🟠404Not Found
🟠409Conflict
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://apigw.klinkcx.com/api/v1/automation-queues//members' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "userId": "string",
    "membershipRole": "agent"
}'
Response Response Example
201 - Example 1
{
    "requestId": "string",
    "data": {
        "userId": "string",
        "name": "string",
        "email": "string",
        "membershipRole": "agent"
    }
}
Modified at 2026-08-10 03:17:50
Previous
Delete
Next
Remove Member
Built with