Skip to main content
POST
/
open-api
/
v1.0
/
media
/
upload-url
Request a pre-signed upload URL
curl --request POST \
  --url https://api.fourthwall.com/open-api/v1.0/media/upload-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileName": "<string>",
  "contentType": "<string>",
  "size": 123
}
'
{ "uploadUrl": "<string>", "fileUrl": "<string>", "expiresAt": "2023-11-07T05:31:56Z" }

Documentation Index

Fetch the complete documentation index at: https://docs.fourthwall.com/llms.txt

Use this file to discover all available pages before exploring further.

OAuth scope: media_writeAPI keys have full access to this endpoint.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
fileName
string
required
contentType
string
required
size
integer<int64>
required

Response

Created

uploadUrl
string
required
fileUrl
string
required
expiresAt
string<date-time>