# Method: projects.sipDomains.create

Creates a sip domain.

The caller must have `voice.sipDomains.create` permission on the project.

### HTTP request

`POST https://voice.api.enfonica.com/v1beta1/{parent}/sipDomains`

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">parent</span> | <span class="e-code">string</span><br/>The project under which to create the sip domain in the form `projects/*`.

### Query parameters
Parameters | &nbsp;
--|--
<span class="e-code">sipDomainId</span> | <span class="e-code">string</span><br/>The subdomain component of the SIP domain. This is the {sip_domain_id} value from `name` and can only be set on create. The FQDN of the SIP domain will be <sip_domain_id>.sip.enfonica.com.<br/><br/>This value must be globally unique. If the identifier already exists, the create method will fail with ALREADY_EXISTS.<br/><br/>This must be lowercase alpha-numeric or hyphens and must start and end with an alpha-numeric character, and must be a minimum of 2 and maximum of 30 characters. This is captured in the following regular expression: ^[a-z0-9][a-z0-9-]{0,28}[a-z0-9]$ Can only be set on create.

### Request body

The request body must contain an instance of <span class="e-code">[SipDomain](/docs/cloud-voice/api-reference/rest/v1beta1/projects.sipDomains/overview/#resource-sipdomain)</span>.

### Response body

If successful, the response body contains an instance of <span class="e-code">[SipDomain](/docs/cloud-voice/api-reference/rest/v1beta1/projects.sipDomains/overview/#resource-sipdomain)</span>.

