Mr. AIMr. AI Help Center

Connect your application with the System API

Create an independent chat key, call the chat endpoint, and revoke the key when needed.

How do I use the System API inside my application?

Create a clearly named key on the System API page, copy it when it is shown once, then POST to /api/v1/chat using a Bearer token plus a stable user_id and message. The keys are chat-only and never expose the internal system key.

  • The plaintext secret is shown only once.
  • Use a stable user_id per customer for correct context.
  • Revoke a key immediately if it may be exposed.

How to use it

  1. 1

    Open Settings, Connect, then API.

  2. 2

    Name and create the key, then copy its secret immediately.

  3. 3

    Store the key in a server-side secret manager or environment variable.

  4. 4

    POST to /api/v1/chat with Authorization: Bearer and a JSON body.

  5. 5

    Review last-used information and revoke unused keys.

Frequently asked questions

Should I place the key in browser or mobile code?

No. Proxy the request through a backend you control so users cannot extract the secret.

Can I display the same key again?

No. The complete value is shown once; create a new key if it is lost.

Open this page in Mr. AI

Was this article helpful?

Your feedback helps us review and improve these guides.