API Keys & Webhooks
Create API Key
Generate a new API key with optional webhook URL
POST
Generate a new API key. The full key is only returned once — store it securely. Optionally set a webhook URL at creation time.
Request Body
Must be
generate.Descriptive name for the key (e.g., “Production Server”, “CI Pipeline”). Max 64 characters.
Optional HTTPS URL to receive webhook events. A signing secret is auto-generated when set.
Response
The full API key. Only shown once. Format:
mgp_ followed by 40 hex characters.UUID of the created key. Use this for update/revoke operations.
The key name.
First 8 characters of the key for identification.
ISO 8601 creation timestamp.
Signing secret for HMAC verification, or
null if no webhook URL was set.