GET
/
collections
curl --request GET \
  --url https://pinapi.jackalprotocol.com/api/collections \
  --header 'Authorization: Bearer <token>'
{
  "collections": [
    {
      "name": "collection-2",
      "id": 2,
      "cid": ""
    },
    {
      "name": "collection-1",
      "id": 1,
      "cid": ""
    }
  ],
  "count": 2
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:0

Page number for pagination

limit
integer
default:25

Number of items per page

name
string

Filter by collection name

Response

200
application/json
Successful operation
collections
object[]
count
integer