GET
/
storage-items
curl --request GET \
  --url https://cookiechimp.com/api/v1/storage-items \
  --header 'Authorization: <api-key>'
{
  "pagination": {
    "prev_url": "/api/v1/storage-items?page=",
    "next_url": "/api/v1/storage-items?page=2",
    "count": 4,
    "page": 1,
    "prev": null,
    "next": 2
  },
  "data": [
    {
      "company_name": "Example Company Name",
      "description": "Tracks user preferences.",
      "domain": "www.example.com",
      "duration": "1 year",
      "last_seen_at": "2023-03-23T12:34:56Z",
      "name": "user-pref-cookie",
      "partitioned": false,
      "path": "/",
      "same_site": "Lax",
      "category_id": "cat1",
      "status": "finalised",
      "approved_by_type": "AI",
      "wildcard_cookie_id": null,
      "id": "user-pref-cookie",
      "is_wildcard_cookie": false
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

limit
integer
default:20

Number of resources to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of resources to skip

Required range: x >= 0
sort
string

Field to sort by

order
enum<string>

Sort order

Available options:
asc,
desc
category_id
string

ID of the category to filter by

Response

200
application/json
List of storage items
pagination
object
Example:
{
  "prev_url": "/api/v1/storage-items?page=",
  "next_url": "/api/v1/storage-items?page=2",
  "count": 4,
  "page": 1,
  "prev": null,
  "next": 2
}
data
object[]