Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Your API key, e.g. gr_live_…

Headers

Idempotency-Key
string
required

Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.

Maximum string length: 255

Body

multipart/form-data
file
file
required
type
enum<string>
Available options:
sticker

Response

Uploaded.

id
string
type
enum<string>
Available options:
image,
video,
document,
sticker
mime_type
string
filename
string
size
integer
created_at
string