# Method: projects.sipDomains.users.create

Creates a user.

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

### HTTP request

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

### Path parameters

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

### Query parameters
Parameters | &nbsp;
--|--
<span class="e-code">userId</span> | <span class="e-code">string</span><br/>The username of the user, and also the {user_id} component of the created resource's name, which will be of the form `projects/{project_id}/sipDomains/{sip_domain_id}/users/{user_id}`.<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]$

### Request body

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

### Response body

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

