MailGlyph supports multiple API key sets per workspace. Each key set contains:Documentation Index
Fetch the complete documentation index at: https://docs.mailglyph.com/llms.txt
Use this file to discover all available pages before exploring further.
- Private key with
pk_prefix (for/v1/track) - Secret key with
sk_prefix (for server-side/private endpoints)
Domain scope
Every key can be configured with one of two scopes:- All domains (default): the key can operate across all verified domains in the workspace.
- Specific domains: the key is restricted to an allowlist of workspace domains.
/v1/send and SMTP sends. If a key is scoped to specific domains, the sender domain must be in that key’s allowlist.
Managing keys in the dashboard
From API Keys in the workspace dashboard, you can:- Create new keys
- Set key name and domain scope
- Edit name and domain scope
- Revoke individual keys
Rotation and incident response
If you suspect a key leak:- Revoke the affected key.
- Create a replacement key with the minimum required scope.
- Roll out the new key to your services.
SMTP notes
SMTP authentication uses secret keys. You can use any activesk_ key, including scoped keys. Scoped secret keys can only send from allowed domains. See SMTP.
To send through the API with the same credentials, see Send Email API.
