Add photo to group

Add one of your photos to a group you belong to.

POST https://cotlet.dev/api/v1/flickr/groups/{group_id}/photos/{photo_id}/to-group

write Confirm

Adds one of your photos to a group's pool. A non-public photo becomes visible to all members of that group. Some groups hold photos until an admin or moderator approves them, and the response says so. Flickr allows a free account to post a photo to 30 groups and Pro to 60 where limits apply. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: add_photo_to_group
NameTypeDescription
photo_id string required string Photo ID from list_photos.
group_id string required string Group ID from list_groups.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/flickr/groups/group_8c41d2/photos/photo_8c41d2/to-group \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("flickr", "add_photo_to_group", {"photo_id":"photo_8c41d2","group_id":"group_8c41d2"})
Node.js
const result = await cotlet.call('flickr', 'add_photo_to_group', {"photo_id":"photo_8c41d2","group_id":"group_8c41d2"});
CLI
cotlet call flickr add_photo_to_group --data '{"photo_id":"photo_8c41d2","group_id":"group_8c41d2"}'

Example response

JSON

{
  "group_id": "1234567@N20",
  "group_name": "Street Lisbon",
  "photo_id": "53917620011",
  "status": "added"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.