Skip to main content
GET
/
v1
/
downloads
List
curl --request GET \
  --url https://{defaultHost}/v1/downloads \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/downloads"
  },
  "data": [
    {
      "id": "f3ab7e86-9d5e-429c-998c-8b1d98426d2f",
      "object": "download",
      "alt": null,
      "archived": false,
      "archived_at": null,
      "name": null,
      "title": null,
      "url": null,
      "media": "f647347a-fed2-4e5e-ada7-d7608307ece5",
      "product": "32339a07-b653-45ec-b961-d5fb7189f568",
      "variant": null,
      "created_at": 1778010875,
      "updated_at": 1778010875
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

archived
boolean

Only return objects that are archived or not archived.

customer_ids[]
string[]

Only return objects that belong to the given customers.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

product_ids[]
string[]

Only return objects that belong to the given products.

variant_ids[]
string[]

Only return objects that belong to the given variants.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.