attachment

Get a presigned R2 upload URL for an attachment

post/api/preview/attachments/presign

Request

  • Base URL
    https://symbol.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://symbol.chat/api/preview/attachments/presign
  • Auth
    • HTTP bearer
    • or API key in cookie __Secure-next-auth.session-token
    • or OAuth 2
      Authorization code: https://mcp.symbol.chat/authorize
      Token URL: https://mcp.symbol.chat/token

Request body

capsuleIdstring required

UUID v4 string

contentTypestring required

MIME type from the upload form.

fileNamestring required

Original file name. Sanitized server-side before object-key construction.

fileSizeinteger required

Size in bytes. Validated against per-plan caps server-side.

Response

Successful response

objectKeystring required
uploadUrlstring required

Changes

No recorded changes to this operation across all 12 revisions of this API.