Skip to main content
POST
cURL

承認

Authorization
string
header
必須

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

ボディ

application/json
contentType
string
必須

Mime type

:

"image/png"

contentLength
number
必須

File size

:

123

type
enum<integer>
必須

Type

利用可能なオプション:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
:

1

expiresIn
number

Token expire time, seconds

:

3600

hash
string

File hash

:

"xxxxxxxx"

baseId
string

レスポンス

201 - application/json

return the upload URL and the key.

url
string
必須

Upload url

:

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

uploadMethod
string
必須

Upload method

:

"POST"

token
string
必須

Secret key

:

"xxxxxxxx"

requestHeaders
object
必須
:
最終更新日 2026年9月4日