Feedloop AI
  • GETTING STARTED
    • Discover Feedloop AI
    • Authentication
      • Sign Up
      • Login
    • Platform
      • Workspace
      • Project
      • People
      • Usage
  • WHAT IS AGENT
    • What is Agent
      • ⚪Manage Agent
    • Basic Agent
      • ⚪Instruction
        • Who
        • What
      • ⚪Training
        • Rules
        • Example
      • ⚪Skill
        • Knowledge
        • Analys
      • ⚪Style
    • Procedures
    • Advance Reasoning
      • ⚪Creating New Agent
      • ⚪Advance Agent Activation
      • ⚪Deleting Agent
      • ⚪Advance Agent Managing Existing
  • AGENT SETTINGS
    • Instruction
      • Who
      • What
      • Additional Instruction
    • Training
      • Chat Rules
      • Retrieval
      • Answering
    • Context
      • Primitive Context
      • Array
    • Tools
      • Knowledge
      • API - Call
        • Manage API Call
        • Basic Configuration
        • Header
        • Body Field
          • Input Binding
            • Page 2
          • Output Binding
        • Testing API Call
        • Trouble Shooting
        • Example Implementation
          • API Call Covid
      • Data Connector
    • Card
      • Intro & Summary Text
      • Data Visualization Card
      • Analyze Card
    • Procedure Basic Info
      • Activation Condition
      • Goal
      • Action
    • Procedures Interaction
      • Procedures Step
      • Procedures Context
      • Procedures Tools
  • AGENT UTILITY
    • Resource
      • Document PDF
        • Preparing your PDF
      • Data Connector
        • Create new data connector
        • Configure dataset, table, and column
        • Using Data Playground
        • Dataset in Data Playground
        • Training in Data Playground
        • SQL generation and modification
        • SQL Execution
    • Apps
      • Chat Widget
      • Web App
    • Testing
    • Monitoring
      • Customer Chat
      • Context
      • Document
  • TASK
    • ⚪Image Analyzer
      • Building Analyzer
      • ID Identifier
    • ⚪Document Analyzer
      • Contractual Document Analyzer
    • ⚪Database Analyzer
    • ⚪Additional Solution
      • Text Sentiment Analyzer
      • Customer Complaint Analyzer
  • For Developer
    • API Chat
      • Chat Initialization
      • Chat Message
      • Chat History
      • Error Handling
    • Embed Widget
      • Embedding the Widget
      • Identity Attributes
      • Widget Attribute Details
Powered by GitBook
On this page
  • Purpose
  • HTTP Method
  • Endpoint
  • Header
  • Path Parameter
  • Request Body
  • Response
  1. For Developer
  2. API Chat

Chat Message

PreviousChat InitializationNextChat History

Last updated 5 months ago

Purpose

Sends a new message in an ongoing conversation.

HTTP Method

POST

Endpoint

Header

Name
Type
Required
Description

Token

String

Unique app authentication token.

Content-Type

String

Set to application/json.

Path Parameter

Field
Type
Required
Description

convo_id

String

Conversation ID obtained from the Chat Initialization API.

Request Body

Field
Type
Required
Description

Identity

String

Unique identifier for the user (e.g., email or user ID).

Data

Object

Additional user information, such as name and email

Example

{
    "message": "Hello, can you help me?",
    "user_id": "09883cac-2d0f-498c-be07-0d8724ab7e6c"
}

Response

Field
Type
Description

status

String

Indicates success or failure.

type

String

Message type (e.g., text).

payload

object

Contains the response content.

Example:

{
    "status": "success",
    "type": "text",
    "payload": {
        "content": "Sure! How can I help?",
        "references": []
    }
}
https://platform-api.feedloop.ai/widget/convo_id/chats