Widget Integration

Attach a file to a widget integration

post/integration/widget/{widgetIntegrationId}/file/{fileId}/attach

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/integration/widget/{widgetIntegrationId}/file/{fileId}/attach
  • Auth: HTTP bearer

Path parameters

widgetIntegrationIdstring required

The ID of the widget integration

fileIdstring required

The ID of the file to attach

Request body

type'bar' | 'user' | 'bot' | 'button' required

The attachment slot type for the file

Response

The file was attached to the widget integration successfully

idstring required

The ID of the attached file

typestring required

The attachment slot type

widgetIntegrationIdstring required

The ID of the widget integration

Changes

No recorded changes to this operation across all 1 revision of this API.