{ "success": true, "apiKey": { "id": "key_abc123", "name": "Production app", "key": "seq_live_...", "prefix": "seq_live_abcd", "createdAt": "2026-05-01T10:30:00Z" }, "message": "API key created successfully. Save this key securely - it cannot be retrieved later.", "instructions": { "envVariable": "SEQUENZY_API_KEY", "example": "SEQUENZY_API_KEY=seq_live_...", "note": "Add this to your .env file for the integration to work." }}
Create a new company-scoped API key. The plain key is returned only once, in this response.
{ "success": true, "apiKey": { "id": "key_abc123", "name": "Production app", "key": "seq_live_...", "prefix": "seq_live_abcd", "createdAt": "2026-05-01T10:30:00Z" }, "message": "API key created successfully. Save this key securely - it cannot be retrieved later.", "instructions": { "envVariable": "SEQUENZY_API_KEY", "example": "SEQUENZY_API_KEY=seq_live_...", "note": "Add this to your .env file for the integration to work." }}
{ "success": true, "apiKey": { "id": "key_abc123", "name": "Production app", "key": "seq_live_...", "prefix": "seq_live_abcd", "createdAt": "2026-05-01T10:30:00Z" }, "message": "API key created successfully. Save this key securely - it cannot be retrieved later.", "instructions": { "envVariable": "SEQUENZY_API_KEY", "example": "SEQUENZY_API_KEY=seq_live_...", "note": "Add this to your .env file for the integration to work." }}