# Create new stream destination Creates and attaches a new streaming destination to the specified live stream. This endpoint is used to add platforms such as YouTube, Facebook, or custom RTMP destinations to an existing live stream. Endpoint: POST /streams/{stream_id}/destinations Version: 1.0.0 Security: bearerAuth ## Path parameters: - `stream_id` (string, required) Unique identifier of the live stream ## Request fields (application/json): - `label` (string, required) Human-readable name for the destination - `appName` (string, required) Destination platform identifier (e.g. youtube, facebook) - `rtmpBase` (string, required) Base RTMP ingest URL - `rtmpKey` (string, required) RTMP stream key ## Response 200 fields (application/json): - `id` (string) Example: "pb_xxxxxxxxx" - `appName` (string) Example: "youtube" - `label` (string) - `rtmpBase` (string) - `oauth` (object) - `oauth.keepDefaultTitles` (boolean) - `oauth.titlesSource` (string) Enum: "original", "stream-titles", "custom" - `oauth.title` (string) - `oauth.description` (string) - `oauth.privacy` (string) - `oauth.autoStart` (boolean) - `oauth.autoStop` (boolean) - `oauth.rewind` (boolean) - `oauth.plannedStartTime` (string) - `oauth.metadata` (object) - `oauth.userAppDetails` (object) - `updatedAt` (string) - `isPinned` (boolean) - `isDisabled` (boolean) ## Response 401 fields ## Response 404 fields