Skip to main content
POST
/
api
/
r2r
/
v3
/
conversations
/
{id}
/
messages
/
{message_id}
Update message in conversation
curl --request POST \
  --url https://api.intelligence.io.solutions/api/r2r/v3/conversations/{id}/messages/{message_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "metadata": "<array>"
}
'
{
  "results": {
    "id": "id",
    "message": {
      "role": "user",
      "content": "This is a test message.",
      "name": "name",
      "function_call": {
        "key": "value"
      },
      "tool_calls": [
        {
          "key": "value"
        }
      ],
      "tool_call_id": "tool_call_id",
      "metadata": {
        "key": "value"
      },
      "structured_content": [
        {
          "key": "value"
        }
      ],
      "image_url": "image_url"
    },
    "metadata": {
      "key": "value"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://io.net/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The unique identifier of the conversation

message_id
string
required

The ID of the message to update

Body

application/json
content
string

The new content for the message

metadata
array

Additional metadata for the message metadata

Response

200

results
object