Skip to main content
POST
/
v1
/
sessions
/
{sessionId}
/
continue
Continue chat
curl --request POST \
  --url https://release0.com/api/v1/sessions/{sessionId}/continue \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": {
    "type": "text",
    "text": "<string>",
    "attachedFileUrls": [
      "<string>"
    ]
  },
  "textBubbleContentFormat": "richText"
}
'
{
  "messages": [
    {
      "id": "<string>",
      "type": "text",
      "content": {
        "type": "richText",
        "richText": "<unknown>"
      }
    }
  ],
  "lastMessageNewFormat": "<string>",
  "input": {
    "id": "<string>",
    "type": "text input",
    "outgoingEdgeId": "<string>",
    "options": {
      "labels": {
        "placeholder": "<string>",
        "button": "<string>"
      },
      "variableId": "<string>",
      "isLong": true,
      "isPassword": true,
      "isRequired": true,
      "audioClip": {
        "isEnabled": true,
        "saveVariableId": "<string>",
        "visibility": "Auto"
      },
      "attachments": {
        "isEnabled": true,
        "saveVariableId": "<string>",
        "visibility": "Auto"
      }
    },
    "prefilledValue": "<string>",
    "runtimeOptions": {
      "paymentIntentSecret": "<string>",
      "amountLabel": "<string>",
      "publicKey": "<string>"
    }
  },
  "clientSideActions": [
    {
      "type": "scriptToExecute",
      "scriptToExecute": {
        "content": "<string>",
        "args": [
          {
            "id": "<string>",
            "value": "<string>"
          }
        ],
        "isCode": true
      },
      "lastBubbleBlockId": "<string>",
      "expectsDedicatedReply": true
    }
  ],
  "logs": [
    {
      "status": "<string>",
      "description": "<string>",
      "details": "<unknown>"
    }
  ],
  "dynamicTheme": {
    "hostAvatarUrl": "<string>",
    "guestAvatarUrl": "<string>"
  },
  "progress": 123
}

Path Parameters

sessionId
string
required

Session identifier returned by the start chat response.

Body

application/json
message
Text · object
textBubbleContentFormat
enum<string>
default:richText
Available options:
richText,
markdown

Response

Successful response

messages
(Text · object | Image · object | Video · object | Audio · object | Embed · object | Custom embed · object)[]
required
lastMessageNewFormat
string

Message validated and normalized by the backend. For example, responses like tomorrow in a date input are converted into an explicit date value.

input
Text · object
clientSideActions
(Script to execute · object | Redirect · object | Chatwoot · object | Google Analytics · object | Wait · object | Set variable · object | Stream OpenAI · object | Execute HTTP request · object | Inject start props · object | Init Pixel · object | Exec stream · object | Execute code · object | Listen to webhook · object)[]

Actions to be executed on the client side.

logs
object[]

Logs generated during the last execution.

dynamicTheme
object

If the agent includes dynamic avatars, returns updated avatar URLs whenever their variables change.

progress
number

If the progress bar is enabled, returns a value between 0 and 100 indicating the current progress based on the longest remaining path in the flow.