Create an ingest key
For an rtmp or srt source of the draft: where an encoder (OBS, vMix) sends. The key is in this answer only.
Authorizations
A Streamloop API key (sl_…). It carries no workspace: send X-Workspace-Id too (400 WORKSPACE_REQUIRED otherwise).
Headers
Retry safely: the key (per caller, workspace, method and path) is taken before the request runs, and its first answer is replayed for 24 hours, with Idempotency-Replayed: true — a repeat sent while the first still runs waits for it. The same key with a different body is 422 IDEMPOTENCY_KEY_REUSED. A 5xx is not kept: the retry runs.
200The workspace to act in. Required with an API key; otherwise the session's own.
Path Parameters
The scene's id (scn_…)
^scn_Body
Response
The key, with its secret once
ingkey_…, for these routes
Only when created or rotated
active, revoked Only when created or rotated
The ingest service's id for the key (ingk_…, not the key's own ingkey_… id): what the draft's rtmp or srt source names as its ingest.key