Add photo to album
Add one of your photos to an album.
POST https://cotlet.dev/api/v1/flickr/albums/{album_id}/photos/{photo_id}/to-album
write
Adds one of your photos to an album. The photo stays in your photostream and in its other albums. add_photo_to_album runs without asking first: it reaches nobody new and remove_photo_from_album undoes it. An album link shows the photo to anyone who has it, so check privacy for non-public photos.
Parameters
| Name | Type | Description |
|---|---|---|
| album_id string required | string | Album ID from list_albums. |
| photo_id string required | string | Photo ID from list_photos. |
Request
curl -X POST https://cotlet.dev/api/v1/flickr/albums/72177720330012345/photos/53917620011/to-album \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("flickr", "add_photo_to_album", {"album_id":"72177720330012345","photo_id":"53917620011"}) const result = await cotlet.call('flickr', 'add_photo_to_album', {"album_id":"72177720330012345","photo_id":"53917620011"}); cotlet call flickr add_photo_to_album --data '{"album_id":"72177720330012345","photo_id":"53917620011"}' Example response
{
"album_id": "72177720330012345",
"album_title": "Lisbon 2026",
"photo_id": "53917620011",
"photos_in_album": 42,
"status": "added"
}