Matrix Accounts
https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/registering-users.md
Create Account
<syntaxhighlight lang="shell">ansible-playbook -i inventory/hosts setup.yml --extra-vars='username=drok password=changemenowplease admin=yes' --tags=register-user</syntaxhighlight>
Access Token
<syntaxhighlight lang="shell">curl -XPOST -d '{
"identifier": { "type": "m.id.user", "user": "USERNAME" }, "password": "PASSWORD", "type": "m.login.password", "device_id": "YOURDEVICEID"
}' 'https://matrix.YOURDOMAIN/_matrix/client/r0/login'</syntaxhighlight>