Skip to main content
POST
/
chat
/
onboarding
/
attachments
cURL
curl --request POST \
  --url https://app.teable.ai/api/chat/onboarding/attachments \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"tokens":["string"]}'
{
  "attachments": [
    {
      "token": "<string>",
      "name": "<string>",
      "path": "<string>",
      "mimetype": "<string>",
      "size": 123,
      "presignedUrl": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
tokens
string[]
required
Required array length: 1 - 20 elements

Response

200 - application/json

Get attachments successfully

attachments
object[]
required
Last modified on March 5, 2026