Creates a subproject under the authenticated root project.
Creating a project is only allowed when authenticated as a top-level (root) project.
A subproject cannot itself contain subprojects, so attempting to create one while
authenticated as a subproject fails with `422 nested_subprojects_not_allowed`.
The response includes the `signing_key`. This is the only time it is returned — it
cannot be retrieved through the API afterward, so capture it from this response.
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Management_.
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
Request
This endpoint expects an object.
namestringRequired<=250 characters
The name of the subproject.
protect_recordingsbooleanOptional
When enabled, recordings created within the project require authentication to access.
protect_message_mediabooleanOptional
When enabled, message media created within the project requires authentication to access.
protect_fax_mediabooleanOptional
When enabled, fax media created within the project requires authentication to access.
force_https_requestsbooleanOptional
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
Response
The request has succeeded and a new resource has been created as a result.
idstringformat: "uuid"
The unique identifier of the project.
namestring
The name of the project.
parent_project_idstring or nullformat: "uuid"
The unique identifier of the root project. null when this project is itself a root project.
subprojectboolean
true when this project is a subproject.
region_preferencestring
The effective region preference for the project. Returned in all responses; it is not currently settable through this API.
protect_recordingsboolean
When enabled, recordings created within the project require authentication to access.
protect_message_mediaboolean
When enabled, message media created within the project requires authentication to access.
protect_fax_mediaboolean
When enabled, fax media created within the project requires authentication to access.
force_https_requestsboolean
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
created_atdatetime
The date and time when the project was created.
updated_atdatetime
The date and time when the project was last updated.
signing_keystring
The project’s signing key. Only returned on create and signing-key rotation responses;
it cannot be retrieved through the API afterward.