Skip to main content
POST
cURL

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
contentType
string
requerido

Mime type

Ejemplo:

"image/png"

contentLength
number
requerido

File size

Ejemplo:

123

type
enum<integer>
requerido

Type

Opciones disponibles:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
Ejemplo:

1

expiresIn
number

Token expire time, seconds

Ejemplo:

3600

hash
string

File hash

Ejemplo:

"xxxxxxxx"

baseId
string

Respuesta

201 - application/json

return the upload URL and the key.

url
string
requerido

Upload url

Ejemplo:

"https://example.com/attachment/upload"

uploadMethod
string
requerido

Upload method

Ejemplo:

"POST"

token
string
requerido

Secret key

Ejemplo:

"xxxxxxxx"

requestHeaders
object
requerido
Ejemplo:
Última modificación el 4 de septiembre de 2026