Skip to main content
← All help

Steps

API keys and developer resources

Find the API reference, manage a Charigent API key, and set up widgets, webhooks, and flows.

1. What this does for you

Use the API reference and manage an API key for a Charigent you own.

2. What Charigent can do

The API reference explains available requests. A Charigent API key authorizes your server to call the API; keep it private and never paste it into chat or browser code.

3. Choose a mode

Choose a mode for this task: Automatic runs allowed work within its settings; Ask me first waits for your approval; Manual helps you prepare the work while you do the action; Off pauses this task. Chat still asks you to confirm before it publishes or changes settings.

  • Automatic
  • Ask me first
  • Manual
  • Off

4. Before you start

5. Steps

  1. 1. Read the API reference

    Review the API endpoint and authentication details for the task you want to automate.

    Read the API reference →
  2. 2. Open your Charigent deployment settings

    Choose a Charigent, open Deploy, and use Manage API key to create or manage its key.

    Open your Charigent deployment settings →
  3. 3. Store and test the key safely

    Keep the key on your server, add it to your secret manager, and make a small test request from your server. Do not put the key in browser code or chat.

6. Check that it worked

  • The key belongs to the Charigent you selected.
  • Your server can make the test request and receives the expected response.
  • The key is not stored in source code, a web page, or a chat message.

7. Common issues and fixes

Problem: You cannot find Manage API key

Check: Confirm you opened Deploy for the intended Charigent.

Fix: Return to Charigents, select that Charigent, and open Deploy.

Problem: The API rejects the request

Check: Check the endpoint, authentication header, and whether the key belongs to this Charigent.

Fix: Create or manage the key from that Charigent’s Deploy settings, then retry from your server.

Problem: You accidentally exposed a key

Check: Treat the key as compromised if it appeared in a public place.

Fix: Revoke or rotate it in the Charigent deployment settings, then update your secret manager.

8. Ask in chat

You can ask the main chat to guide you through this task. Review each proposed change. Publishing and settings changes still ask for your confirmation.

“Help me find the API reference and the key settings for my Charigent. Do not reveal, copy, or send the key in chat.”

9. Optional short video

No video walkthrough is available for this guide yet.