| Name | Type | Required | Default value | Description |
|---|
| vhost | int | Required | none | ID of the application that the media is in. |
| uid | int | Optional | 0 | ID of the user. |
| phone | string | Optional | 0 | number of the user. |
| email | mixed | Optional | '' | |
| username | string | Optional | '' | username of the user. |
| sendEmail | int | Optional | 0 | ID of the email template to use, if 0 no email will be sent |
| sendSMS | bool | Optional | false | Whether or not to send an sms messge to activate the user that is used in the registration call. When true an sms message is sent to the phone number provided in the array. |