arrow_back Back to all endpoints
POST https://test-api.finerworks.com/v3/list_galleries

List Galleries

List galleries setup in GeoGalleries.com.

Body

Name Description Type Additional information
account_key Optional - User account associated with the request. Note, this will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and the request will based upon the user's api credentials. Leave as null if not authorized to use this parameter. text None.
personal If personal is set is true, then only the account user's personal galleries will be listed. boolean None.
gallery_ids Optional - Filter by gallery ids. array (number) None.

Example JSON Body

application/json, text/json

{
  "account_key": "sample string 1",
  "personal": true,
  "gallery_ids": [
    1,
    2
  ]
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/list_galleries' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "account_key": "sample string 1",
  "personal": true,
  "gallery_ids": [
    1,
    2
  ]
}'