Skip to content

Download one shared file.

GET
/api/v1/rooms/{slug}/shared-files/{fileId}/content

Streams the file with its content type and an attachment Content-Disposition. If the stream ends with a network error instead of completing, the file failed an integrity check or the connection broke; discard the partial download. Send X-Parivox-Access-Link to attribute the download to a visitor’s personal access link; an invalid or revoked link refuses the download with 404.

slug
required
string

The slug of a room the key’s account owns or co-owns.

fileId
required
string
X-Parivox-Access-Link
string

A visitor’s personal access link, for attribution.

The file’s bytes.

Media typeapplication/octet-stream
string format: binary

Missing or invalid developer key.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

The key lacks the required scope, or is not permitted for this room.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Room (or file, or access link) not found. A room the key’s account does not own or co-own is reported the same way.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Rate limit exceeded; back off about a minute.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}