Account management
Requests a validation token be sent to the given phone number for the purpose of registering an account
The homeserver must check that the given phone number is not already associated with an account on this homeserver. The homeserver should validate the phone number itself, either by sending a validation message itself or by using a service it has control over.
post/_matrix/client/v3/register/msisdn/requestToken
Request
- Base URLhttps://matrix.org
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"client_secret": "monkeys_are_GREAT",
"country": "GB",
"next_link": "https://example.org/congratulations.html",
"phone_number": "07700900001",
"send_attempt": 1,
"id_server": "id.example.com"
}Response
An SMS message has been sent to the specified phone number. Note that this may be an SMS message containing the validation token or it may be informing the user of an error.
Example response
{
"sid": "123abc",
"submit_url": "https://example.org/path/to/submitToken"
}Changes
No recorded changes to this operation across all 1 revision of this API.