Query users with recent device key updates.

GET {{baseUrl}}/keys/changes?from=s72594_4483_1934&to=s75689_5632_2435

Gets a list of users who have updated their device identity keys since a previous sync token.

The server should include in the results any users who:

  • currently share a room with the calling user (ie, both users have membership state join); and
  • added new device identity keys or removed an existing device with identity keys, between from and to.

Request Params

KeyDatatypeRequiredDescription
fromstring(Required) The desired start point of the list. Should be the next_batch field
from a response to an earlier call to /sync. Users who have not
uploaded new device identity keys since this point, nor deleted
existing devices with identity keys since then, will be excluded
from the results.
tostring(Required) The desired end point of the list. Should be the next_batch
field from a recent call to /sync - typically the most recent
such call. This may be used by the server as a hint to check its
caches are up to date.

RESPONSES

status: OK

{"changed":["@alice:example.com","@bob:example.org"],"left":["@clara:example.com","@doug:example.org"]}