create
projects.create
Create a subproject under the authenticated root project.
Request
name
The name of the subproject.
protect_recordings
When enabled, recordings created within the project require authentication to access.
protect_message_media
When enabled, message media created within the project requires authentication to access.
protect_fax_media
When enabled, fax media created within the project requires authentication to access.
force_https_requests
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
Response
id
The unique identifier of the project.
name
The name of the project.
parent_project_id
The unique identifier of the root project. `null` when this project is itself a root project.
subproject
`true` when this project is a subproject.
region_preference
The effective region preference for the project. Returned in all responses; it is not currently settable through this API.
protect_recordings
When enabled, recordings created within the project require authentication to access.
protect_message_media
When enabled, message media created within the project requires authentication to access.
protect_fax_media
When enabled, fax media created within the project requires authentication to access.
force_https_requests
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
created_at
The date and time when the project was created.
updated_at
The date and time when the project was last updated.
signing_key
The project's signing key. Only returned on create and signing-key rotation responses;
it cannot be retrieved through the API afterward.
Parameters
All parameters are keyword-only.
name
Display name for the subproject.
protect_recordings
Require authentication to download call recordings.
protect_message_media
Require authentication to download message media.
protect_fax_media
Require authentication to download fax media.
force_https_requests
Reject webhook URLs that aren’t HTTPS.
extras
Additional request body fields merged into the payload as sent.
request_options
Per-call timeout and retry overrides. See
RequestOptions.
Returns
Project — the new subproject. The response also carries signing_key, which
is returned only on creation and by rotate_signing_key, so store it now.
Response Example
Response