attachments
Post attachmentssignature
Retrieve upload signature.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Mime type
Example:
"image/png"
File size
Example:
123
Type
Available options:
1
, 2
, 3
, 4
, 5
, 6
, 7
Example:
1
Token expire time, seconds
Example:
3600
File hash
Example:
"xxxxxxxx"
Response
201 - application/json
return the upload URL and the key.
Upload url
Example:
"https://example.com/attachment/upload"
Upload method
Example:
"POST"
Secret key
Example:
"xxxxxxxx"
Example:
{ "Content-Type": "image/png" }