Platform
API Keys and Webhooks
Operate key lifecycle and webhook delivery with production safeguards.
#API Keys and Webhooks
API keys are the credentials your software uses to talk to mAIvn, and
webhooks are how mAIvn talks back to your software when something happens.
This guide covers both: creating and safeguarding keys, and setting up
webhook endpoints to receive event callbacks — all from the portal.
See also: Authentication & API Keys — how to use a key from the SDK (api_key/Client), key scopes, and handling rejected keys in Python.
#API Keys
Use API keys when your application needs server-to-server access.
#Key lifecycle
- Create key with a descriptive name.
- Copy plaintext key immediately (shown once).
- Store in secure secret manager.
- Rotate or revoke as needed.

Projects are the entry point for API key and webhook management

Project API keys page
#Visibility model
Key visibility depends on backend authorization and project ownership context.
If project-scoped listing returns empty, the portal now falls back to account-visible keys and filters by project to avoid missing keys tied to your account.
#Webhooks
Webhooks let your systems receive event callbacks from the platform.
Each webhook includes:
- Endpoint URL
- Event list
- Active/inactive state
- Failure counters
#Reliability checklist
- Return a
2xxstatus quickly. - Verify webhook signatures before processing.
- Retry idempotently on duplicates/timeouts.
- Track consecutive failures and disable noisy endpoints.

Project webhooks page

Webhook delivery history
#Security Checklist
- Never embed API keys in frontend code.
- Scope keys to least privilege.
- Rotate keys on schedule and incident response.
- Use HTTPS-only webhook endpoints.
#Next steps
- Authentication & API Keys — use a key from the
SDK (api_key/Client), understand key scopes, and handle rejected
keys in Python. - Workspace Operations — organize keys and
webhooks across organizations and projects.