Typebot icon

Typebot

Interact with Typebot API

Chat → Generate Upload URL

AI-generated

Summary

Generate a presigned file-upload URL for a Typebot chat session by sending the session ID, file name, and optional MIME type to the Typebot API.

Inputs

  • Session ID (required) — Session ID for the upload; sent as the sessionId query parameter.
  • File Name (required) — Name of the file to upload; sent in the request body.
  • File Type — Optional MIME type; included in the request body only when non-empty.

Output shape

A single JSON item containing the API response.

Uses the authenticated Typebot API to POST to /v2/generate-upload-url on the chat base URL. The chat base URL falls back to the configured base URL when unset. The returned item contains the parsed JSON response; its fields depend on the API response.

Links

Discussion