curl --request GET \
--url https://api.snappy.com/public-api/v2/collections \
--header 'X-Api-Key: <api-key>'{
"results": [
{
"id": "WS6bYz4cR8",
"name": "Premium Tech Gifts",
"types": [
"gifts"
],
"coverImage": "https://media.snappy.com/collections/tech-gifts-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/tech-gifts-thumb1.jpg",
"https://media.snappy.com/collections/tech-gifts-thumb2.jpg"
],
"createdAt": "2024-01-15T10:30:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-06-01T14:22:00.000Z"
},
{
"id": "K9mP3xL7dN",
"name": "Eco-Friendly Swag",
"types": [
"swag"
],
"coverImage": "https://media.snappy.com/collections/eco-swag-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/eco-swag-thumb1.jpg"
],
"createdAt": "2024-02-20T09:15:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-05-15T16:45:00.000Z"
},
{
"id": "F8nQ2vB6jM",
"name": "Local NYC Experiences",
"types": [
"local experiences"
],
"coverImage": "https://media.snappy.com/collections/nyc-experiences-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/nyc-exp-thumb1.jpg",
"https://media.snappy.com/collections/nyc-exp-thumb2.jpg",
"https://media.snappy.com/collections/nyc-exp-thumb3.jpg"
],
"createdAt": "2024-03-10T11:00:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-06-05T13:30:00.000Z"
}
],
"skip": 0,
"limit": 100
}Use this API to search for and retrieve a list of available gift collections based on your specified criteria.
Filtering options:
Please note: Swag collections can only be retrieved by specifying the accountId in the request.
The result will include detailed collection information including available products.
collections:readcurl --request GET \
--url https://api.snappy.com/public-api/v2/collections \
--header 'X-Api-Key: <api-key>'{
"results": [
{
"id": "WS6bYz4cR8",
"name": "Premium Tech Gifts",
"types": [
"gifts"
],
"coverImage": "https://media.snappy.com/collections/tech-gifts-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/tech-gifts-thumb1.jpg",
"https://media.snappy.com/collections/tech-gifts-thumb2.jpg"
],
"createdAt": "2024-01-15T10:30:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-06-01T14:22:00.000Z"
},
{
"id": "K9mP3xL7dN",
"name": "Eco-Friendly Swag",
"types": [
"swag"
],
"coverImage": "https://media.snappy.com/collections/eco-swag-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/eco-swag-thumb1.jpg"
],
"createdAt": "2024-02-20T09:15:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-05-15T16:45:00.000Z"
},
{
"id": "F8nQ2vB6jM",
"name": "Local NYC Experiences",
"types": [
"local experiences"
],
"coverImage": "https://media.snappy.com/collections/nyc-experiences-cover.jpg",
"thumbnails": [
"https://media.snappy.com/collections/nyc-exp-thumb1.jpg",
"https://media.snappy.com/collections/nyc-exp-thumb2.jpg",
"https://media.snappy.com/collections/nyc-exp-thumb3.jpg"
],
"createdAt": "2024-03-10T11:00:00.000Z",
"createdBy": "Snappy Team",
"updatedAt": "2024-06-05T13:30:00.000Z"
}
],
"skip": 0,
"limit": 100
}Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
Company level authentication provides access to all resources under your company, including accounts, campaigns, gifts, and recipients.
POST /v2/authentication/apiKeys endpoint to generate a new API keyInclude your API key in the X-Api-Key header for every request:
X-Api-Key: YOUR_24_CHARACTER_API_KEYFor production environments, enable mutual TLS authentication:
enforceMtls: true when creating the API keyhttps://mtls-api.snappy.com/public-apiSource of the request
api_native, api_zapier, api_salesforce, api_ftp, api_make "api_native"
Budget value
1 <= x <= 200001
Company ID
^[A-Za-z0-9]{8,}$"12345678"
Account ID
"a12bcd34"
List of supported countries
1["US"]List of collection types
1The types of the collection. Valid values are: swag, gifts, local experiences, custom.
swag, gifts, local experiences, custom ["swag"]List of additional fields to include in response objects
1The fields to return additionally in response. Valid values are: coverImage, thumbnails, createdBy, updatedAt, full.
coverImage, thumbnails, createdBy, updatedAt, full ["full"]Number of records to skip for pagination (use with limit for paging through results)
x >= 00
Maximum number of records to return per page
1 <= x <= 10010
Successful response
Response containing collections.
The fetched collections.
Show child attributes
Number of records to skip for pagination (use with limit for paging through results)
x >= 00
Maximum number of records to return per page
1 <= x <= 10010
Was this page helpful?