MD Import Docs

API Key

How to create, manage, and safely use the shared site-wide API key.

The MD import API uses the shared site-wide API key. The same key also works for the WeChat subscription APIs.

How to create it

  1. Sign in to FaFaFa.ai
  2. Open API Key management from the profile menu or the standalone API Key page
  3. Enter a recognizable name such as FaFaFa API
  4. Copy the key immediately after creation

If you already have a web session, you can also call:

POST /api/api-keys
Content-Type: application/json
{
  "name": "FaFaFa API"
}

Authorization

Authorization: Bearer YOUR_API_KEY

Security notes

  • Use different names for staging and production
  • The full key is shown only once
  • Revoke and recreate it immediately if exposed