- [HTTP request](https://developers.google.com/notebook/reference/rest/v1/notebooks.sources/create#body.HTTP_TEMPLATE)
- [Path parameters](https://developers.google.com/notebook/reference/rest/v1/notebooks.sources/create#body.PATH_PARAMETERS)
- [Request body](https://developers.google.com/notebook/reference/rest/v1/notebooks.sources/create#body.request_body)
- [Response body](https://developers.google.com/notebook/reference/rest/v1/notebooks.sources/create#body.response_body)
- [Authorization scopes](https://developers.google.com/notebook/reference/rest/v1/notebooks.sources/create#body.aspect)

Creates a new source.

### HTTP request

`POST https://notebook.googleapis.com/v1/{parent=notebooks/*}/sources`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent resource where this source will be created. Format: `notebooks/{notebook}` It takes the form `notebooks/{notebook}`. |

### Request body

The request body contains an instance of `https://developers.google.com/notebook/reference/rest/v1/notebooks.sources#Source`.

### Response body

If successful, the response body contains a newly created instance of `https://developers.google.com/notebook/reference/rest/v1/notebooks.sources#Source`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/notebook`

For more information, see the [Authentication guide](https://developers.google.com/notebook/docs/authentication).