Skip to content

Download a twin's stored file

GET
/voice/twins/files/download

SPENDS NOTHING. The file’s bytes, streamed. Voice checks that the key belongs to this organisation (twins/{org}/...) before serving it; a key from another organisation is voice’s own 403, forwarded.

Authorizations

Parameters

Query Parameters

s3_key
required

The stored key, as returned on the twin.

string
>= 1 characters

The stored key, as returned on the twin.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string