---
title: "PUT /api/simulations/{simulationId}/nodes/{nodeId}/intent/update"
method: PUT
path: "/api/simulations/{simulationId}/nodes/{nodeId}/intent/update"
tags: ["Node"]
---

# PUT /api/simulations/{simulationId}/nodes/{nodeId}/intent/update

`PUT /api/simulations/{simulationId}/nodes/{nodeId}/intent/update`

## 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/simulations/{simulationId}/nodes/{nodeId}/intent/update`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

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

## Request body

- UpdateOpenResponseNodeDto
  - `actsLike` string, required
  - `visualHint` VisualIntentHintDto, required
    - `hint` string, required
    - `backgroundColor` string, required: A valid hex color string (e.g., #FFF, #FFFFFF, #FFFFFFFF)
    - `textColor` string, required: A valid hex color string (e.g., #FFF, #FFFFFF, #FFFFFFFF)
    - `openOnLoad` boolean, nullable

## Response `200`

OK

- OpenResponseNodeDto
  - `nodeType` 'dialogue' | 'response' | 'poster' | 'event' | 'end' | 'open-response' | 'outcome' | 'no-match' | 'hotspot' | 'quiz' | 'page' | 'code', required
  - `id` string, required
  - `simulationId` string, required
  - `position` Position2dDto, required
    - `x` number, double, required
    - `y` number, double, required

---

[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)
