Skip to main content
Add Dispositions to Group
curl --request POST \
  --url https://api.agents.timepay.ai/api/v1/dispositions/groups/{id}/dispositions \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dispositions": [
    {}
  ]
}
'
{
  "success": true,
  "message": "Dispositions added to group successfully"
}

Overview

Add one or more dispositions to an existing disposition group. This is useful for incrementally building up a group without replacing the entire disposition list.
Duplicate disposition IDs are automatically ignored. If a disposition is already in the group, it won’t be added again.

Headers

Authorization
string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Path Parameters

id
string
required
The unique identifier of the disposition group

Request Body

dispositions
array
required
Array of disposition IDs to add to the group

Response

success
boolean
Indicates if the request was successful
message
string
Response message
{
  "success": true,
  "message": "Dispositions added to group successfully"
}

Error Codes

StatusDescription
400Empty array or invalid disposition IDs
401Unauthorized - Invalid or missing API key
403Forbidden - Missing required permissions
404Disposition group not found
500Internal server error