Optional
device_ID of the client device. If this does not correspond to a known client device, a new device will be created. The given device ID must not be the same as a cross-signing key ID. The server will auto-generate a device_id if this is not specified.
Optional
identifierIdentification information for a user
Optional
initial_A display name to assign to the newly-created device. Ignored if device_id corresponds to a known device.
Optional
mediumWhen logging in using a third-party identifier, the medium of the identifier.
Must be email
.
Optional
passwordRequired when type is m.login.password
. The user’s password.
Optional
refresh_If true, the client supports refresh tokens.
Optional
tokenRequired when type is m.login.token
. Part of Token-based login.
The login type being used.
Optional
userThe fully qualified user ID or just local part of the user ID, to log in.
Request body for POST /login request
See
https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login