Skip to main content
POST
Creates a new SRT source.

Authorizations

Authorization
string
header
required

OAuth2 bearer token in the Authorization header

Body

application/json
name
string
required
srt_settings
object
required

SRT receiver configuration. Validated server-side against the JSON schema bundled with the LiveSources service (schemas/srt_settings.json). Field semantics:

  • modelistener (UP listens for an incoming SRT connection) or caller (UP dials out to a remote SRT server).
  • In listener mode, whitelisted_ip_addresses is required and ip / port (top-level and inside redundant_source) are ignored.
  • In caller mode, top-level ip and port are required.
  • If redundant_source.enabled is true and mode is caller, redundant_source.ip and redundant_source.port are required.
  • If aes_encryption.enabled is true, key_length and passphrase are required. When the source is also redundant, backup_key_length and backup_passphrase are required as well.

The REST gateway exposes these settings as a structured object using the snake_case names below; the upstream GraphQL service stores the same data as a JSON-serialised string with camelCase keys (e.g. whitelistedIpAddresses). The gateway translates names in both directions.

Example:
description
string
default:""
engine_version
string | null
redundancy
boolean
default:false
region
string | null
tags
string[] | null

Response

Source created

SRT-specific source representation. Extends Source.

id
string<uuid>
required
read-only

This is the GUID for the Source.

Example:

"e3c908ad-dc8f-4edb-88f7-c84dec0aef99"

kind
enum<string>
required
read-only
Available options:
SRT
Example:

"SRT"

name
string
required

Source name

Example:

"CNN East Feed"

description
string
required

Describes the Source purpose

Example:

"Primary east-coast feed for breaking news."

status
enum<string>
required
read-only
Available options:
INACTIVE,
PENDING,
ACTIVE,
STOPPING,
ERROR
Example:

"ACTIVE"

active_receiver
enum<string>
required
read-only
Available options:
PRIMARY,
SECONDARY,
UNKNOWN
primary_connection_state
enum<string>
required
read-only
Available options:
CONNECTED,
DISCONNECTED,
WAITING
secondary_connection_state
enum<string>
required
read-only
Available options:
CONNECTED,
DISCONNECTED,
WAITING
redundancy
boolean
required

Whether two SRT receivers are deployed for redundancy.

srt_settings
object
required

SRT receiver configuration. Validated server-side against the JSON schema bundled with the LiveSources service (schemas/srt_settings.json). Field semantics:

  • modelistener (UP listens for an incoming SRT connection) or caller (UP dials out to a remote SRT server).
  • In listener mode, whitelisted_ip_addresses is required and ip / port (top-level and inside redundant_source) are ignored.
  • In caller mode, top-level ip and port are required.
  • If redundant_source.enabled is true and mode is caller, redundant_source.ip and redundant_source.port are required.
  • If aes_encryption.enabled is true, key_length and passphrase are required. When the source is also redundant, backup_key_length and backup_passphrase are required as well.

The REST gateway exposes these settings as a structured object using the snake_case names below; the upstream GraphQL service stores the same data as a JSON-serialised string with camelCase keys (e.g. whitelistedIpAddresses). The gateway translates names in both directions.

Example:
activated_at
string<date-time> | null
read-only

Timestamp when the Source was last activated, in UTC iso8601 format.

Example:

"2025-04-21T15:53:12.388317Z"

engine_version
string | null

Engine version that hosts the source.

errors
string[] | null
read-only
passthrough_url
string | null
read-only

Optional SRT passthrough URL when the source has passthrough enabled.

primary_ingress_url
string | null
read-only

Ingress URL the customer's encoder pushes the primary stream to (caller mode), or that LiveCapture listens on (listener mode).

region
string | null

Cloud region in which the source is hosted.

secondary_ingress_url
string | null
read-only

Ingress URL for the redundant receiver, when redundancy is enabled.

stream_metadata
string | null
read-only

Engine-reported metadata of the active stream as a JSON string.

tags
string[] | null
transport_statistics_primary
string | null
read-only

Engine-reported SRT transport statistics for the primary receiver as a JSON string.

transport_statistics_secondary
string | null
read-only

Engine-reported SRT transport statistics for the secondary receiver as a JSON string.

created_at
string<date-time>
read-only

Timestamp when Source was created, in UTC iso8601 format.

Example:

"2025-04-21T15:53:12.388317Z"

updated_at
string<date-time>
read-only

Timestamp when Source was last updated, in UTC iso8601 format.

Example:

"2025-04-22T15:53:12.182617Z"