Create new chat

Creates a new chat instance for a user based on a provided API integration. Requires a valid platform token in the headers for authentication. Ensure the apiIntegrationId corresponds to an existing integration.

post/create_new_chat

Request

  • Base URL
    https://agency-swarm-app-japboyzddq-uc.a.run.app
  • URL
    https://agency-swarm-app-japboyzddq-uc.a.run.app/create_new_chat
  • Auth
    HTTP bearer

Request body

apiIntegrationIdstring required

The unique identifier of the API integration for which to create the chat. Example: "dpCD7snQ0tCWrdtp6UhZ"

Response

Chat created successfully. Returns the unique chatId for the new chat.

chatIdstring

The unique identifier for the newly created chat. Example: "FVfA971B3fnBH4S1OKlo"

Changes

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