---
title: "POST /api/simulations/generate"
method: POST
path: "/api/simulations/generate"
tags: ["Simulation"]
---

# POST /api/simulations/generate

`POST /api/simulations/generate`

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

## Query parameters

- `type` 'PDF'
- `folderId` string, uuid: A valid GUID

## Headers

- `Idempotency-Key` string

## Request body `multipart/form-data`

- object
  - `File` string, binary
  - `LanguageCode` string
  - `SceneId` string
  - `CharacterId` string
  - `VoiceName` string
  - `ActsLike` string
  - `StoryTitle` string
  - `IncludeImages` boolean
  - `SourceFileFunctionalType` 'SlideDeck' | 'Article' | 'Report' | 'Brochure'
  - `PageSelection` 'All' | 'Range'
  - `PageRangeLower` integer
  - `PageRangeUpper` integer
  - `ContentLengthOption` 'Short' | 'Medium' | 'Long'

## Response `200`

OK

- string

## Other responses

- `400`: Bad Request
- `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)
