Developer docs
Create and rotate API keys
Create an account API key in Settings and keep the secret on your server.
Last verified:
Create a key in Settings
- Sign in and open Settings, then choose the API Keys section.
- Select Generate API Key. The full key is shown once.
- Copy it now and store it in your server-side secret manager. Do not put it in browser code, a public repository, or a chat message.
- Send requests from your server using the Authorization: Bearer header shown below.
curl --request GET \
--url "https://app.charigent.com/api/v1/me" \
--header "Authorization: Bearer $CHARIGENT_API_KEY"The list shows a short key prefix and last four characters. It does not show the full key again.
Rotate or revoke a key
Create a replacement key, update your server secret, confirm the new key works, then revoke the old key in Settings. Revoking takes effect immediately and cannot be undone.
Open API Keys settings