Clear all agent assignments for a customer
Removes every agent assigned to the customer in one call.
Authorization
ApiKeyAuth API key from your dashboard (Settings > API Keys)
In: header
Path Parameters
Customer id (cuid2) or public identifier
Query Parameters
WABA id — required only when the identifier matches multiple customers across WABAs.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://loading/api/v1/agents/customers/919876543210/assignments"{
"success": true,
"data": {
"removed_count": 0
}
}{
"success": false,
"message": "to field is required"
}{
"success": false,
"message": "user not authenticated"
}{
"success": false,
"message": "forbidden"
}{
"success": false,
"message": "customer not found"
}{
"success": false,
"message": "internal server error"
}Assign agents to a customer PATCH
Idempotently adds one or more agents to a customer's assignments. Agents already on the customer are returned under `already_assigned` and not re-inserted. The `customer` field accepts either the customer's internal id (cuid2) or its public identifier. If you pass an identifier that exists across multiple WABAs in your tenant, also pass `wabaId` to disambiguate — otherwise the call returns `400 ambiguous_customer`.
List agents currently assigned to a customer GET
Next Page


