Skip to main content
GET
/
v1
/
files
/
{file_id}
/
url
Download File
curl --request GET \
  --url https://api.spitch.app/v1/files/{file_id}/url \
  --header 'Authorization: Bearer <token>'
{
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Authenticate with Authorization: Bearer <token>. The service accepts JWTs, API keys, and guest tokens through this bearer token header.

Path Parameters

file_id
string
required

Query Parameters

ttl
integer
default:15

Response

Successful Response

file_id
string<uuid>
required
url
string
required
expires_at
string<date-time>
required