Spaces
Endpoints for listing and retrieving spaces.
GET
https://api.paperarchive.io/v1/spacesScope:
spaces:readList all spaces accessible by your API key. Spaces organize documents into separate collections (e.g. "Personal", "Business").
Code examples
curl -X GET "https://api.paperarchive.io/v1/spaces" \
-H "Authorization: Bearer pa_live_abc123def456"GET
https://api.paperarchive.io/v1/spaces/:idScope:
spaces:readRetrieve a single space by ID.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | uuid | required | The space ID. |
Code examples
curl -X GET "https://api.paperarchive.io/v1/spaces/space-uuid-1" \
-H "Authorization: Bearer pa_live_abc123def456"