API Key Details
- Name: {{ api_key.name|default:"Unnamed Key" }}
- Key ID:
{{ api_key.prefix }}...****
- Created: {{ api_key.created_at|date:'F j, Y \a\t g:i A' }}
- Status: Active
{% if is_regeneration %} API Key Regenerated Successfully {% else %} API Key Generated Successfully {% endif %}
Save your API key now - it will not be shown again
Important Security Notice
This is the only time you will see your API key. Copy it now and store it securely. If you lose this key, you will need to regenerate it.
{{ api_key.prefix }}...****
How to use your API key:
Include it in the Authorization header of your HTTP requests:
Authorization: Bearer {{ full_key }}
cURL:
curl -H "Authorization: Bearer {{ full_key }}" \
https://api.example.com/v1/endpoint
Python:
import requests
headers = {
'Authorization': 'Bearer {{ full_key }}'
}
response = requests.get(
'https://api.example.com/v1/endpoint',
headers=headers
)