---
title: "POST /api/simulations/{simulationId}/publish"
method: POST
path: "/api/simulations/{simulationId}/publish"
tags: ["Simulation"]
---

# POST /api/simulations/{simulationId}/publish

`POST /api/simulations/{simulationId}/publish`

## 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}/publish`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

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

## Request body

- SimulationPublishSettingsDto
  - `domains` string[], nullable
  - `password` string, nullable
  - `type` 'None' | 'Domain' | 'Password'
  - `sharedViaIntegration` 'None' | 'Motimate' | 'CustomExperienceApi' | 'LearningCenter'
  - `integrations` SimulationIntegrationDto[], nullable
    - `id` string, uuid, required: A valid GUID
    - `integrationId` string, uuid, required: A valid GUID

## Response `201`

Created

- string

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