---
title: "Create a configuration for Room Outcomes"
method: POST
path: "/v1/companies/{company_code_or_sid}/room-outcome-config/{fileName}"
tags: ["companies"]
---

# Create a configuration for Room Outcomes

`POST /v1/companies/{company_code_or_sid}/room-outcome-config/{fileName}`

## Request

- Base URL: `https://api.prod-us.streem.cloud`
- URL: `https://api.prod-us.streem.cloud/v1/companies/{company_code_or_sid}/room-outcome-config/{fileName}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/streem/apis/streem-api/docs/v1/companies/:company_code_or_sid/room-outcome-config/:fileName/post.ts> (a function with typed inputs; its response is checked against the schema)

Create the configuration for post call outcomes dialog

## Path parameters

- `company_code_or_sid` string, required
- `fileName` string, required

## Request body

- StreemApiCreateCompanyRoomOutcomeConfigRequest
  - `company_sid` string
  - `diagnosis` StreemApiCompanyRoomOutcomeConfigSection
    - `options` StreemApiCompanyRoomOutcomeConfigOption[]
      - `entry` StreemApiCompanyRoomOutcomeConfigEntry
        - `code` string
        - `label` string
        - `call_source_codes` string[]
      - `properties` object
    - `call_source_codes` string[]
  - `disposition` StreemApiCompanyRoomOutcomeConfigSection
    - `options` StreemApiCompanyRoomOutcomeConfigOption[]
      - `entry` StreemApiCompanyRoomOutcomeConfigEntry
        - `code` string
        - `label` string
        - `call_source_codes` string[]
      - `properties` object
    - `call_source_codes` string[]
  - `custom_fields` object

## Response `204`

Config created successfully

## Other responses

- `400`: Invalid Room Outcome Config supplied
- `403`: You do not have permission to create a Room Outcome Config
- `404`: The company specified does not exist
- `428`: Room Outcome is not enabled

---

[API](https://skmtc.dev/streem/apis/streem-api.md) - [All operations](https://skmtc.dev/streem/apis/streem-api/llms.txt) - [OpenAPI document](https://skmtc.dev/streem/apis/streem-api/revisions/04250faebd19?raw)
