---
title: "POST /api/organization/{id}/live-sources"
method: POST
path: "/api/organization/{id}/live-sources"
tags: ["organization"]
---

# POST /api/organization/{id}/live-sources

`POST /api/organization/{id}/live-sources`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`

An organization's live contribution inputs and their coming bookings.

Only its own members see them: a source's stream ID is half of what an
encoder needs to publish to it. Creating one is for those who may
program the organization's airtime.

## Path parameters

- `id` integer, required

## Request body

- LiveSourceRequest
  - `name` string, required
  - `enabled` boolean
  - `logoPosition` 'top-right' | 'stortinget-clock': * `top-right` - Øverst til høyre * `stortinget-clock` - Rundt Stortingets klokke
  - `pullUrl` string: An address Frikanalen pulls this source from (srt://, rtmp(s)://, rtsp(s)://, or https:// for HLS), instead of an encoder pushing to it. Empty makes it a pushed source again. Never returned; see pull_target.

## Response `201`

- LiveSource
  - `id` integer, required
  - `name` string, required
  - `enabled` boolean
  - `logoPosition` 'top-right' | 'stortinget-clock': * `top-right` - Øverst til høyre * `stortinget-clock` - Rundt Stortingets klokke
  - `isPulled` boolean, required
  - `pullTarget` string, required: Scheme, host and port of the pull address.
  - `encoderCount` integer, required: Encoders that hold a key to this source. A pushed source with none cannot receive a signal.
  - `canDelete` boolean, required: A source no programme has ever used can be deleted; one that has stays, and can be switched off.
  - `streamId` string, uuid, required
  - `contributionPath` string, required
  - `previewPath` string, required
  - `upcomingTransmissions` UpcomingTransmission[], required
    - `id` integer, required
    - `name` string, required
    - `starttime` string, date-time, required
    - `endtime` string, date-time, required

## Other responses

- `400`
- `401`
- `404`
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-11-19** `270524f03f87`: 1 breaking, 3 info
  - added `#/components/schemas/OrganizationLiveSourcesCreateLogoPositionErrorComponent` to the `oneOf[#/components/schemas/OrganizationLiveSourcesCreateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added the new optional request property `logoPosition`
  - added the optional property `logoPosition` to the response with the `201` status
  - added `logo_position` discriminator mapping keys to the `oneOf[#/components/schemas/OrganizationLiveSourcesCreateValidationError]/errors/items/` response property for the response status `400`
- **2026-11-13** `aa0809308971`: 2 info
  - added the required property `canDelete` to the response with the `201` status
  - added the required property `encoderCount` to the response with the `201` status
- **2026-11-12** `6f69c16e2051`: 1 breaking, 1 info
  - added `#/components/schemas/OrganizationLiveSourcesCreatePullUrlErrorComponent` to the `oneOf[#/components/schemas/OrganizationLiveSourcesCreateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added `pull_url` discriminator mapping keys to the `oneOf[#/components/schemas/OrganizationLiveSourcesCreateValidationError]/errors/items/` response property for the response status `400`
- …earlier changes not shown

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/organization/:id/live-sources/post.md)

---

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