
# curl

Start with the [REST guide](../rest.md) to create a Platform API token.

List the first ten catalogs:

```bash
curl -fsS "https://reconstruct.dev/api/v1/platform/catalogs?pageSize=10" \
  -H "Authorization: Bearer ${CR_RECONSTRUCT_API_TOKEN}"
```

To read a catalog, copy its `catalogId` from the list response and URL-encode it in the path:

```bash
curl -fsS "https://reconstruct.dev/api/v1/platform/catalogs/CATALOG_ID" \
  -H "Authorization: Bearer ${CR_RECONSTRUCT_API_TOKEN}"
```

If the list response has `nextPageToken`, pass it as the URL-encoded `pageToken` query parameter to fetch the next page.
