Appearance
Fresh 2026
Management API
Reference for the Management API: create, list, update, and delete API keys, with per-key spend limits and usage.
The Management API lets you create and administer your organization's API keys programmatically. Use it to issue a key per customer or employee, rotate keys, and attach per-key spend limits. For a walkthrough with examples, see Management API keys.
Base URL
https://gateway.merge.devAuthentication
Authenticate with a management key as a bearer token. Create one in the dashboard under Settings → API keys → Management keys. It is shown once at creation.
Authorization: Bearer mgmt_A management key administers keys and reads usage for its own organization. It cannot call the gateway's model endpoints, and it cannot manage another organization's keys.