1. conversations
Autonomk
  • users
    • Get all users
      GET
    • Create User
      POST
    • Delete user
      DELETE
    • Get single user
      GET
    • Update User
      PUT
  • auth
    • Login
      POST
    • refresh token
      POST
    • Logout
      POST
  • chat
    • Chat
      POST
  • sessions
    • Get all logged in sessions
      GET
    • Delete logged in token
      DELETE
  • conversations
    • Get single conversation with chat messages
      GET
    • Get list of all conversations
      GET
    • Create Conversation History
      POST
    • Delete Conversation History
      DELETE
    • Update the conversation properties
      PATCH
    • insert chat into conversation
      PATCH
  • Untitled Endpoint
    POST
  1. conversations

insert chat into conversation

Developing
Development
http://localhost:8080/api/v0
Development
http://localhost:8080/api/v0
PATCH
http://localhost:8080/api/v0
/conversations/insert-chat
insert chat into the conversations

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢201Created
application/json
Bodyapplication/json

🟠400Bad Request
🟠403Forbidden
🟠401Unathorized
🟠422Unprocessable Entity
🟠404Not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'http://localhost:8080/api/v0/conversations/insert-chat' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "conversation_id": "string",
    "text": "string",
    "sender": "user",
    "type": "string",
    "parent_id": "string"
}'
Response Response Example
201 - Example 1
{
    "id": "string",
    "content": {
        "type": "string",
        "text": "string",
        "sender": "user"
    },
    "sender": "string",
    "created_at": 0,
    "updated_at": 0,
    "parent_id": "string"
}
Modified at 2025-07-17 09:13:24
Previous
Update the conversation properties
Next
Untitled Endpoint
Built with