- [HTTP request](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#body.HTTP_TEMPLATE)
- [Query parameters](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#body.request_body)
- [Response body](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#body.response_body)
- [Authorization scopes](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#body.aspect)
- [Try it!](https://developers.google.com/youtube/data/reference/rest/v3/liveBroadcasts/insert.md.txt#try-it)

Creates a broadcast.

In the `LiveBroadcast` request body, specify values for the required properties `snippet.title`, `snippet.scheduledStartTime`, and `status.privacyStatus`. You can also set `snippet.description`, `snippet.categoryId`, `snippet.scheduledEndTime`, `status.selfDeclaredMadeForKids`, and writable `contentDetails` properties. Omitted optional properties are assigned default values (for example, `contentDetails.enableEmbed`, `contentDetails.enableDvr`, and `contentDetails.recordFromStart` default to `true`, while `contentDetails.enableAutoStart` and `contentDetails.enableAutoStop` default to `false`).

For method-specific error responses, see [liveBroadcasts.insert errors](https://developers.google.com/youtube/data/reference/rest/v3/errors.md.txt#liveBroadcasts_youtube.liveBroadcasts.insert). For code examples, see [liveBroadcasts.insert code snippets](https://developers.google.com/youtube/data/code_samples/code_snippets.md.txt?method=liveBroadcasts.insert).

### HTTP request

`POST https://youtube.googleapis.com/youtube/v3/liveBroadcasts`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Query parameters

| Parameters ||
|---|---|
| `part[]` | `string` Required. Identifies the properties that the write operation sets as well as the properties that the API response includes. Settable parts are `contentDetails`, `snippet`, and `status`. Response parts are `contentDetails`, `id`, `monetizationDetails`, `snippet`, `statistics`, and `status`. |
| `onBehalfOfContentOwner` | `string` Intended exclusively for YouTube content partners and valid only in an [authorized request](https://developers.google.com/youtube/data/guides/authentication.md.txt). Indicates that the request's authorization credentials identify a YouTube CMS user acting on behalf of the specified content owner, allowing partners that manage multiple channels to authenticate once and access data for linked channels. The CMS account must be linked to the specified YouTube content owner. |
| `onBehalfOfContentOwnerChannel` | `string` Intended exclusively for YouTube content partners and valid only in an [authorized request](https://developers.google.com/youtube/data/guides/authentication.md.txt). Specifies the YouTube channel ID of the channel to act on behalf of for this broadcast request. Required whenever `onBehalfOfContentOwner` is set, and usable only in conjunction with that parameter. The CMS account must be linked to the content owner specified by `onBehalfOfContentOwner`, and that content owner must link the channel specified by `onBehalfOfContentOwnerChannel`. |

### Request body

The request body contains an instance of `LiveBroadcast`.

### Response body

If successful, the response body contains a newly created instance of `LiveBroadcast`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/youtube`
- `https://www.googleapis.com/auth/youtube.force-ssl`

For more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).