List objects
const url = 'https://example.com/api/v1/orgs/example/buckets/example/objects';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/orgs/example/buckets/example/objects \ --header 'Authorization: Bearer <token>'Lists files and virtual folders directly under prefix. When the bucket key lacks list capability, returns only objects known to Sendcrate via active share links along with a noList notice.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization ID.
Bucket ID.
Query Parameters
Section titled “Query Parameters”Opaque S3 continuation token returned as nextCursor (pages up to 1,000 items).
Folder prefix to browse relative to the bucket’s basePath (omit for bucket root).
Responses
Section titled “Responses”Paginated objects and folders under the prefix
object
On the first page of a folder, whether index.html or index.htm exists at its root (eligible for a website link).
A file or virtual folder returned when browsing a bucket.
object
For folders, whether index.html or index.htm exists at the folder root (eligible for website links).
true for a virtual prefix (key ends with /).
Full object key relative to the bucket’s basePath.
Number of active share links pointing directly at this key.
Base filename or folder segment.
Example
{ "items": [ { "isFolder": false, "key": "reports/q4.pdf", "lastModified": "2026-11-01T12:00:00.000Z", "linkCount": 2, "name": "q4.pdf", "size": 1048576 } ]}Invalid request input or rule violation.
Error returned when request input fails schema validation or violates a domain rule.
object
object
Field-level validation failures, present when schema validation fails.
object
Dot-separated field path.
Human-readable error explanation.
Example
{ "code": "BAD_REQUEST"}Authentication required or credentials invalid.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Insufficient role, bucket grant, or token scope.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Resource not found.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Unexpected server error. Quote data.requestId when you report it.
Error returned when Sendcrate or one of its providers fails (5xx).
object
object
Error chain with stack traces. Present only when the server runs in development mode.
Request reference to quote when you report the error.
Human-readable error explanation.
Example
{ "code": "INTERNAL_SERVER_ERROR"}The storage, DNS, mail, or payment provider failed or refused the request.
Error returned when Sendcrate or one of its providers fails (5xx).
object
object
Error chain with stack traces. Present only when the server runs in development mode.
Request reference to quote when you report the error.
Human-readable error explanation.
Example
{ "code": "INTERNAL_SERVER_ERROR"}