Authentication
Every API request is authenticated with an API key. Create one in the dashboard under Workspace → API Keys. The raw key (prefixed mng_) is shown once at creation, so store it somewhere safe.
Authorization header
Pass the key as a bearer token on every request:
http
Authorization: Bearer mng_your_api_keyKey types
Each key has a type that limits what it can do. A request with the wrong type returns 403.
| Type | Allows |
|---|---|
| media | Upload image, video, and audio files |
| images | Upload image files only |
| videos | Upload video files only |
| audio | Upload audio files only |
| logs | Send log events |
Retention
Each key has its own retention, set on the API Keyspage: how long media and logs sent with that key are kept. Unlimited by default, so nothing is deleted unless you choose a window. Which log dataset an event goes to is chosen per request, not per key — see the Logs API page.
Keys are secrets. Use them only from your server (e.g. a FiveM server-side script), never from a game client or browser.