Skip to content

RegisterRequest

Defined in: src/@types/registration.ts:24

The request body of a call to POST /_matrix/client/v3/register.

https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3register

optional auth?: AuthDict

Defined in: src/@types/registration.ts:30

Additional authentication information for the user-interactive authentication API. Note that this information is not used to define how the registered user should be authenticated, but is instead used to authenticate the register call itself.


optional guest_access_token?: string

Defined in: src/@types/registration.ts:61

Guest users can also upgrade their account by going through the ordinary register flow, but specifying the additional POST parameter guest_access_token containing the guest’s access token. They are also required to specify the username parameter to the value of the local part of their username, which is otherwise optional.

https://spec.matrix.org/v1.10/client-server-api/#guest-access


optional inhibit_login?: boolean

Defined in: src/@types/registration.ts:48

If true, an access_token and device_id should not be returned from this call, therefore preventing an automatic login. Defaults to false.


optional initial_device_display_name?: string

Defined in: src/@types/registration.ts:53

A display name to assign to the newly-created device. Ignored if device_id corresponds to a known device.


optional password?: string

Defined in: src/@types/registration.ts:39

The desired password for the account.


optional refresh_token?: boolean

Defined in: src/@types/registration.ts:43

If true, the client supports refresh tokens.


optional username?: string

Defined in: src/@types/registration.ts:35

The basis for the localpart of the desired Digital World ID. If omitted, the hub MUST generate a Digital World ID local part.