---
title: "Gets the next node content for intent node functionality"
method: POST
path: "/api/simulation/{simulationId}/nodes/intent"
tags: ["Intent"]
---

# Gets the next node content for intent node functionality

`POST /api/simulation/{simulationId}/nodes/intent`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/simulation/{simulationId}/nodes/intent`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

- `simulationId` string, uuid, required: A valid GUID

## Query parameters

- `intentType` 'Text' | 'Audio'

## Request body `multipart/form-data`

- object
  - `Text` string
  - `IntentCombinations` string
  - `IntentVoiceRequestDto` string
  - `audio` string, binary

## Response `200`

OK

- IntentResponseDto
  - `nextNodeId` string, required
  - `text` string, nullable
  - `audioBase64` string, nullable

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
