cURL
curl --request POST \
--url https://app.teable.ai/api/attachments/signature \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"contentType":"image/png","contentLength":123,"expiresIn":3600,"hash":"xxxxxxxx","type":1,"baseId":"string"}'{
"url": "https://example.com/attachment/upload",
"uploadMethod": "POST",
"token": "xxxxxxxx",
"requestHeaders": {
"Content-Type": "image/png"
}
}attachments
Post attachmentssignature
Retrieve upload signature.
POST
/
attachments
/
signature
cURL
curl --request POST \
--url https://app.teable.ai/api/attachments/signature \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"contentType":"image/png","contentLength":123,"expiresIn":3600,"hash":"xxxxxxxx","type":1,"baseId":"string"}'{
"url": "https://example.com/attachment/upload",
"uploadMethod": "POST",
"token": "xxxxxxxx",
"requestHeaders": {
"Content-Type": "image/png"
}
}授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
最后修改于 2026年3月5日
此页面对您有帮助吗?
⌘I

