GET
/
api
/
websites
curl --request GET \
  --url https://admin.snagsolutions.io/api/websites \
  --header 'X-API-KEY: <api-key>'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "My Website",
      "termsSignedAt": "2023-10-01T12:00:00Z",
      "collections": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174002",
          "name": "Art Collection",
          "imageUrl": "https://example.com/image.png",
          "royaltyFee": 5,
          "royaltyFeeAddress": "0xabc123..."
        }
      ],
      "_count": {
        "mintingContractAssets": 42
      }
    }
  ],
  "hasNextPage": true
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

startingAfter
string

Pagination cursor, start after this ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

limit
integer

Number of items to return

Required range: 1 <= x <= 1000
Example:

10

organizationId
string

Filter by organization ID

Example:

"123e4567-e89b-12d3-a456-426614174001"

name
string

Filter by name

Example:

"My Website"

Response

200
application/json
200

Response schema for fetching websites

data
object[]
required

Array of websites

Schema representing a website

hasNextPage
boolean
required

Indicates if more pages are available

Example:

true