BizKitHub
DocsAPI ReferenceTeam Chat/bff/team-chat/attachment-upload
postTeam ChatAdmin BFF

/bff/team-chat/attachment-upload

Stores the file privately under user/{slug}/chat with tag = chat (never listed in Drive). Pass the returned token in /send attachmentTokens. Until sent, only the uploader can open it.

Team chatpostBffTeam-chatAttachment-upload

Parameters

JSON body

Request body

application/json
filestringRequiredbinary

Binary file payload (max 100 MB).

Default: File
blobPathstringOptional
tagstringOptional

Response schema

1 status code documented

200Success
tokenstringRequired
filenamestringRequired
sizenumberRequired
contentTypestringRequired
isImagebooleanRequired
blobTokenstringRequired

Response example

application/json
{
  "token": "example_token",
  "filename": "example_filename",
  "size": 0,
  "contentType": "example_contentType",
  "isImage": false,
  "blobToken": "example_blobToken"
}

Request example

POST /bff/team-chat/attachment-upload

post
curl -X POST "https://api.bizkithub.com/bff/team-chat/attachment-upload" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "file": "File",
  "blobPath": "example_blobPath",
  "tag": "example_tag"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key