Validate ownership of an email address.
POST {{baseUrl}}/validate/email/submitToken
Validate ownership of an email address.
If the three parameters are consistent with a set generated by a
requestToken
call, ownership of the email address is considered to
have been validated. This does not publish any information publicly, or
associate the email address with any Matrix user ID. Specifically,
calls to /lookup
will not show a binding.
The identity server is free to match the token case-insensitively, or carry out other mapping operations such as unicode normalisation. Whether to do so is an implementation detail for the identity server. Clients must always pass on the token without modification.
Note: for backwards compatibility with previous drafts of this
specification, the parameters may also be specified as
application/x-form-www-urlencoded
data. However, this usage is
deprecated.
Request Body
{"sid"=>"1234", "client_secret"=>"monkeys_are_GREAT", "token"=>"atoken"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"success":true}