curl -sS 'https://matrix.example.com/_matrix/client/versions'

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_matrix/client/versions'

Check that the Matrix client API responds

Returns the list of Matrix spec versions the server supports, with no authentication required. This is the first thing to hit when a client cannot connect, because it proves the server is up and reachable. A non-JSON response or connection error points at DNS, TLS, or the reverse proxy. The federation version endpoint is the equivalent check for server-to-server traffic.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.