{% extends "layouts/base.html" %} {% block main_content %}

API Tokens

Manage your API access tokens for programmatic access

Your API Tokens

These tokens allow you to access the API programmatically

API Token Guidelines

  • Keep your API tokens secure and never share them publicly
  • Use different tokens for different applications or environments
  • Regularly rotate your tokens for security
  • Delete tokens that are no longer needed

API Documentation

Learn how to use the API with your tokens

Authentication

curl -H "Authorization: Bearer YOUR_TOKEN" \\
  https://your-domain.com/api/prompts

Example Request

fetch('/api/prompts', {
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN'
  }
})
{% endblock %}