cURL
curl --request GET \ --url https://api.ongoody.com/v1/collections \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "b2e28ce3-f6de-46cd-aeaf-8ffc66cbfbbd", "workspace_id": "319c65d9-2f22-4647-bc93-6d4b419b09f6", "title": "Incubate Synergistic Solutions", "is_published": false, "published_price": null, "product": null, "published_version": null }, { "id": "05e69e76-1146-4032-86b0-5afea3eb2c6d", "workspace_id": "319c65d9-2f22-4647-bc93-6d4b419b09f6", "title": "Office Favorites", "is_published": true, "published_price": null, "product": null, "published_version": { "id": "02bb6294-8ff5-43ef-b68f-3492249e0711", "title": "Office Favorites", "subtitle": "Curated treats for the whole team", "multiple_select_mode": "disabled", "multiple_select_count": null, "multiple_select_price": null, "international_shipping_tier": "standard", "international_gift_cards_enabled": false, "header_image": null } } ], "list_meta": { "total_count": 2 } }
?published=true
Your Goody API key.
Page number for pagination (starts at 1)
x >= 1
Number of collections to return per page (maximum 100)
1 <= x <= 100
Return only published collections when true
Collections retrieved successfully
Show child attributes