{% extends "base.html" %} {% block title %}Account · SubmitStream{% endblock %} {% block content %}

Account

{{ user.name }} · {{ user.email }} · role: {{ user.role }}

API tokens

Personal tokens let the submitstream CLI (and Claude) create forms and clients on your behalf, without a browser login. Treat a token like a password — it acts as you. The management API is reachable only from on the server.

{% if new_token %}
New token — copy it now, it won't be shown again: {{ new_token }}

Save it to ~/.config/submitstream/token (mode 600) on the server so the CLI can use it.

{% endif %}
{% if tokens %} {% for t in tokens %} {% endfor %}
LabelCreatedLast usedStatus
{{ t['label'] or '(no label)' }} {{ t['created_at'] }} {{ t['last_used_at'] or 'never' }} {% if t['revoked'] %}revoked{% else %}active{% endif %} {% if not t['revoked'] %}
{% endif %}
{% endif %}
{% endblock %}