Skip to main content
POST
/
open-api
/
v1.0
/
media
/
images
Save an uploaded image to the media library
curl --request POST \
  --url https://api.fourthwall.com/open-api/v1.0/media/images \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileUrl": "<string>",
  "width": 123,
  "height": 123
}
'
{
  "id": "<string>",
  "uri": "<string>",
  "width": 123,
  "height": 123,
  "thumbnail": "<string>",
  "preview": "<string>"
}

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
fileUrl
string
required
width
integer<int32>
required
height
integer<int32>
required

Response

Created

id
string
required
uri
string
required
width
integer<int32>
required
height
integer<int32>
required
thumbnail
string
required
preview
string
required