curl -sS 'https://matrix.example.com/_synapse/admin/v1/registration_tokens' -H "Authorization: Bearer $ACCESS_TOKEN"

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_synapse/admin/v1/registration_tokens' -H "Authorization: Bearer $ACCESS_TOKEN"

List all registration tokens

Shows every registration token with its allowed uses, completed registrations, pending uses, and expiry time. Registration tokens let users self-register when open registration is off, provided registration_requires_token is set in homeserver.yaml. A null uses_allowed means unlimited. Revoke leaked tokens with the DELETE variant.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.