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

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.

fieldsobject required

Information used to identify this third-party location.

protocolstring required

The protocol ID that the third-party location is a part of.

useridstring required

A Matrix User ID representing a third-party user.

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.