Chat Message

Purpose

Sends a new message in an ongoing conversation.

HTTP Method

POST

Endpoint

https://platform-api.feedloop.ai/app/init

NameTypeRequiredDescription

Token

String

Unique app authentication token.

Content-Type

String

Set to application/json.

Path Parameter

FieldTypeRequiredDescription

convo_id

String

Conversation ID obtained from the Chat Initialization API.

Request Body

FieldTypeRequiredDescription

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

FieldTypeDescription

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": []
    }
}

Last updated