Welcome to the Ocean Security API
The Ocean Security API provides programmatic access to threat detection data, security metrics, and email protection insights for your organization. Prefer to work from the spec directly? Download the OpenAPI spec to generate clients, import into Postman, or explore in your tool of choice.Threats API
Retrieve and analyze detected email threats
Metrics API
Access security analytics and ROI metrics
SONAR API
Manage phishing reports and response analytics
Authentication
All API endpoints require authentication using an API key passed via theX-Api-Key header.
Base URL
All API requests should be made to:Rate Limiting
API requests are rate limited to ensure fair usage. If you need higher limits, please contact support.Response Format
All responses are returned in JSON format with a consistent structure:Error Handling
When an error occurs, the API returns an appropriate HTTP status code along with an error message:| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Resource doesn’t exist |
| 500 | Internal Server Error |
