Pular para o conteúdo principal
POST
Fazer upload de mídia

Autorizações

Authorization
string
header
obrigatório

Company API key. The header value must be Api-Key <token>, e.g. Authorization: Api-Key AbCd1234.xxxxxxxx.

Corpo

multipart/form-data
file
file
obrigatório

.jpg, .jpeg, .png, .mp4 or .pdf; at most 16 MB.

name
string

Display name. Defaults to the file name.

Resposta

File stored.

url_pk
integer

Envie-o como media.url_pk em send.

media
enum<string>
Opções disponíveis:
image,
video,
document,
unknown
url
string<uri>
name
string