POST
/
attachments
/
notify
/
{token}
curl --request POST \
  --url 'https://app.teable.io/api/attachments/notify/%7Btoken%7D?filename=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "token": "xxxxxxxxxxx",
  "size": 1024,
  "url": "/bucket/xxxxx",
  "path": "/table/xxxxxx",
  "mimetype": "video/mp4",
  "width": 100,
  "height": 100,
  "presignedUrl": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

token
string
required

Query Parameters

filename
string

Response

201 - application/json
Attachment information
token
string
required

Token for the uploaded file

size
number
required

File size in bytes

url
string
required

URL of the uploaded file

path
string
required

file path

mimetype
string
required

MIME type of the uploaded file

presignedUrl
string
required

Preview url

width
number

Image width of the uploaded file

height
number

Image height of the uploaded file