Skip to main content
POST
Generate presigned upload URLs for media files

Authorizations

X-API-Key
string
header
required

Body

application/json
postType
enum<string>
required

Type of post the media is for

Available options:
TEXT,
IMAGE,
MULTIPLE_IMAGES,
VIDEO,
CAROUSEL,
REEL,
STORY
socialMedia
enum<string>
required

Target social media platform

Available options:
TWITTER,
INSTAGRAM,
LINKEDIN,
LINKEDIN_PAGE,
FACEBOOK,
TIKTOK,
YOUTUBE,
THREADS,
WHATSAPP
files
object[]
required

Files to generate upload URLs for

Response

201 - application/json

Presigned URLs generated

fileId
string

File record UUID

uploadUrl
string

Presigned PUT URL (expires in 1 hour)

s3Prefix
string

S3 object key — pass this when creating the post

fileSrc
string

Public CDN URL — pass this when creating the post