Skip to main content
POST
cURL

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json
contentType
string
erforderlich

Mime type

Beispiel:

"image/png"

contentLength
number
erforderlich

File size

Beispiel:

123

type
enum<integer>
erforderlich

Type

Verfügbare Optionen:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
Beispiel:

1

expiresIn
number

Token expire time, seconds

Beispiel:

3600

hash
string

File hash

Beispiel:

"xxxxxxxx"

baseId
string

Antwort

201 - application/json

return the upload URL and the key.

url
string
erforderlich

Upload url

Beispiel:

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

uploadMethod
string
erforderlich

Upload method

Beispiel:

"POST"

token
string
erforderlich

Secret key

Beispiel:

"xxxxxxxx"

requestHeaders
object
erforderlich
Beispiel:
Zuletzt geändert am 4. September 2026