Skip to content

List objects

GET
/orgs/{orgId}/buckets/{bucketId}/objects
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.

orgId
required

Organization ID.

string
bucketId
required

Bucket ID.

string
cursor

Opaque S3 continuation token returned as nextCursor (pages up to 1,000 items).

string
<= 4096 characters
prefix

Folder prefix to browse relative to the bucket’s basePath (omit for bucket root).

string

Paginated objects and folders under the prefix

Media typeapplication/json
object
hasIndexHtml

On the first page of a folder, whether index.html or index.htm exists at its root (eligible for a website link).

boolean
items
required
Array<object>

A file or virtual folder returned when browsing a bucket.

object
hasIndexHtml

For folders, whether index.html or index.htm exists at the folder root (eligible for website links).

boolean
isFolder
required

true for a virtual prefix (key ends with /).

boolean
key
required

Full object key relative to the bucket’s basePath.

string
lastModified
required

ISO-8601 timestamp from S3, or null for folders.

Any of:
string
linkCount
required

Number of active share links pointing directly at this key.

number
name
required

Base filename or folder segment.

string
size
required

Object size in bytes, or null for folders.

Any of:
number
nextCursor
Any of:
string
noList
string
truncated
boolean

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.

Media typeapplication/json

Error returned when request input fails schema validation or violates a domain rule.

object
code
required
string
Allowed values: BAD_REQUEST
data
object
issues
required

Field-level validation failures, present when schema validation fails.

Array<object>
object
message
required
string
path
required

Dot-separated field path.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "BAD_REQUEST"
}

Authentication required or credentials invalid.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Insufficient role, bucket grant, or token scope.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Resource not found.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Unexpected server error. Quote data.requestId when you report it.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}

The storage, DNS, mail, or payment provider failed or refused the request.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}