{% extends "user_layout.html" %} {% block title %}My API Tokens - BZOD{% endblock %} {% block active_tokens %}active{% endblock %} {% block header_title %}API Tokens & Automation{% endblock %} {% block content %} {% if let Some(msg) = success %}
{{ msg }}
{% endif %} {% if let Some(err) = error %}
{{ err }}
{% endif %}

Generate API Token

API tokens allow you to automate link shortening and landing page creations. Generated tokens are hashed immediately; you will only be shown the raw token once.

{% if let Some(raw_token) = new_token %}
Raw Token (Copy now!) {{ raw_token }}
{% endif %}

Active API Tokens

{% if tokens.is_empty() %} {% else %} {% for t in tokens %} {% endfor %} {% endif %}
Token ID Created At Action
No active API tokens generated yet.
{{ t.id }} {{ t.created_at }}
{% endblock %}