Account management
Begins the validation process for a phone number for association with the user's account.
The homeserver must check that the given phone number is not already associated with an account on this homeserver. This API should be used to request validation tokens when adding a phone number to an account. This API's parameters and response are identical to that of the /register/msisdn/requestToken endpoint. 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/account/3pid/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 was sent to the given phone number.
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.