Skip to main content
POST
Upload campaign video

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
channel
enum<string>
required

Channel the integration belongs to.

Available options:
messenger,
instagram,
whatsapp
integrationId
string
required

Channel integration id (numeric string).

Pattern: ^\d+$
adAccountId
string
required

Meta ad account id (act_).

Pattern: ^act_\d+$
fileName
string
required

File name for the uploaded video.

Required string length: 1 - 255
mimeType
string
required

Video MIME type: video/mp4 or video/quicktime.

Pattern: ^video\/(mp4|quicktime)$
base64
string
required

Base64-encoded video file contents, up to 25MB.

Required string length: 1 - 25000000

Response

OK

videoId
string
required