Skip to content

API keys

Page

In-app help

Updated 16/11/2026

Keys for people and tools outside the Console to get the content of the site. There are two kinds: Khoá API client (client API keys, also called store keys) for websites and apps to read published content, and Khoá API của bot (bot API keys) for bots and tools that load drafts.

Create a client API key

  1. Open Khoá API client and press create key.
  2. Give it a label that is easy to recognise, for example the name of the website that uses it.
  3. Press Tạo khoá (create key), then copy the key right away. It is shown only once; if you lose it, you must create a new one.

Reading the list

Each key has a label, a creation date and a revocation date if it was revoked. Open a key to see its read scope: content types, languages, origins and features. An empty scope means no limit.

Replacing a key and revoking

  • To replace a key: create a new key, update the website to use it, then revoke the old key.
  • When you revoke a key, the website that uses it loses the right to read content within 30 seconds at most. Revoking goes one way: it cannot be turned back on.

Bot API keys (Khoá API của bot)

This tab is view-only. Each bot key shows its label, the content types it may write, its expiry, who created it and when. A bot only creates and edits drafts; it cannot publish. Creating and revoking bot keys is not done in the Console; it goes through the admin API of the content service.

Good to know

  • Do not put a key in public source code or in a message.
  • A key with the kit feature is used for the Site Kit.
  • Use per key is in Usage.

Last updated: