Skip to main content
POST
cURL

Autorisations

Authorization
string
header
requis

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

Corps

application/json
contentType
string
requis

Mime type

Exemple:

"image/png"

contentLength
number
requis

File size

Exemple:

123

type
enum<integer>
requis

Type

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

1

expiresIn
number

Token expire time, seconds

Exemple:

3600

hash
string

File hash

Exemple:

"xxxxxxxx"

baseId
string

Réponse

201 - application/json

return the upload URL and the key.

url
string
requis

Upload url

Exemple:

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

uploadMethod
string
requis

Upload method

Exemple:

"POST"

token
string
requis

Secret key

Exemple:

"xxxxxxxx"

requestHeaders
object
requis
Exemple:
Dernière modification le 4 septembre 2026