🚀 Visual Navigation for Link Fields! See our changelog for details.
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"
}
}Retrieve upload signature.
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"
}
}Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Mime type
"image/png"
File size
123
Type
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 1
Token expire time, seconds
3600
File hash
"xxxxxxxx"
return the upload URL and the key.
Was this page helpful?