Skip to main content
PATCH
https://api.bouncy.ai
/
v1
/
groups
/
:groupId
/
links
curl -X PATCH https://api.bouncy.ai/v1/groups/grp_abc123xyz/links \
  -H "X-Api-Key: bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "linkIds": ["link_abc123", "link_def456", "link_ghi789"],
    "action": "add"
  }'
{
  "groupId": "grp_abc123xyz",
  "message": "Links assigned to group successfully",
  "updated": 3,
  "failed": []
}

Request

Headers

X-Api-Key
string
required
Your API key (e.g., bcy_live_pk_YOUR_API_KEY)
Content-Type
string
required
Must be application/json

Path Parameters

groupId
string
required
The group IDExample: grp_abc123xyz

Body

Array of link IDs to add to this groupExample: ["link_abc123", "link_def456", "link_ghi789"]
action
string
default:"add"
Action to performOptions: add, remove Default: add

Response

groupId
string
Group ID
message
string
Success message
updated
number
Number of links updated
failed
array
Array of link IDs that failed (if any)
curl -X PATCH https://api.bouncy.ai/v1/groups/grp_abc123xyz/links \
  -H "X-Api-Key: bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "linkIds": ["link_abc123", "link_def456", "link_ghi789"],
    "action": "add"
  }'
{
  "groupId": "grp_abc123xyz",
  "message": "Links assigned to group successfully",
  "updated": 3,
  "failed": []
}