Third-party Lookup
Retrieve the Matrix User ID of a corresponding third-party user.
Retrieve a Matrix User ID linked to a user on the third-party service, given a set of user parameters.
get/_matrix/client/v3/thirdparty/user/{protocol}
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
protocolstring required
The name of the protocol.
Query parameters
fieldsobject
One or more custom fields that are passed to the AS to help identify the user.
Response
The Matrix User IDs found with the given parameters.
Example response
[
{
"fields": {
"user": "jim"
},
"protocol": "gitter",
"userid": "@_gitter_jim:matrix.org"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.