Get a gallery
Read the settings of one gallery: title, description, visibility, access, password hint and link.
GET https://cotlet.dev/api/v1/smugmug/galleries/{gallery_id}
read
Returns the settings you see under Settings in the gallery: title, description, visibility, who has access, the password hint if a password is set, whether a guest upload key is set, and the gallery link. It never returns a password. Use it to check a gallery before you change who can see it.
Parameters
| Name | Type | Description |
|---|---|---|
| gallery_id string required | string | Gallery ID from list_galleries. |
Request
curl https://cotlet.dev/api/v1/smugmug/galleries/gallery_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("smugmug", "get_gallery", {"gallery_id":"gallery_8c41d2"}) const result = await cotlet.call('smugmug', 'get_gallery', {"gallery_id":"gallery_8c41d2"}); cotlet call smugmug get_gallery --data '{"gallery_id":"gallery_8c41d2"}' Example response
{
"gallery_id": "Xk4RtP",
"title": "Smith wedding",
"description": "Final edit, June 2026",
"visibility": "unlisted",
"access": "anyone_with_link",
"password_hint": null,
"guest_upload_key_set": false,
"invited_count": 0,
"web_url": "https://studio.smugmug.com/Weddings/Smith-wedding"
}