Query if a given registration token is still valid.
GET {{baseUrl}}/register/m.login.registration_token/validity?token=fBVFdqVE
Queries the server to determine if a given registration token is still valid at the time of request. This is a point-in-time check where the token might still expire by the time it is used.
Servers should be sure to rate limit this endpoint to avoid brute force attacks.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
token | string | (Required) The token to check validity of. |
RESPONSES
status: OK
{"valid":true}