Authentication
Authentication
此页面暂无中文版本。显示默认语言(English)。
Authentication
Every request needs your business’s Cekat API key. The Open API is available on the Business and Enterprise plans. Generate your key in the Cekat dashboard under Settings → Developers & API (open).
Send the key in the api_key header:
api_key: YOUR_API_KEY
Endpoints under /api/... also accept the same key as a bearer token (Authorization: Bearer YOUR_API_KEY). Endpoints under /templates... accept only the api_key header, so using api_key everywhere is the simplest choice.
Keep the key secret: anyone with it can send messages and spend balance on your account.