Authentication
All API requests require a Bearer token in the Authorization header. Generate API keys from your dashboard at app.pixacolour.com/settings/api.
There are two types of keys:
- Live keys (
px_live_) — Production environment with real filtering - Test keys (
px_test_) — Sandbox mode for development and testing
Quick Start
Get your email security gateway running in 3 steps:
Response:
Quarantine
Manage quarantined emails. List, release, or permanently delete flagged messages.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter: quarantined, released, deleted |
threat_type | string | No | Filter: spam, phishing, malware, bec |
from | string | No | Filter by sender address |
limit | integer | No | Results per page (default: 50) |
Threat Feed
Access real-time threat intelligence data for your protected domains.
Policies
Configure filtering rules, allowlists, blocklists, and custom actions for your organization.
Domains
Manage your protected domains. After adding a domain, update your MX records to route email through the gateway.
Webhooks
Configure webhooks to receive real-time notifications about security events. Set your endpoint URL in the dashboard.
Events
| Event | Description |
|---|---|
threat.detected | New threat identified and blocked |
threat.quarantined | Email moved to quarantine |
quarantine.released | Admin released a quarantined email |
policy.triggered | Custom policy rule matched |
auth.failed | SPF/DKIM/DMARC authentication failure |
report.daily | Daily security summary available |
SDKs & Libraries
Official libraries for popular languages:
- Node.js —
npm install @pixacolour/sdk - Python —
pip install pixacolour - PHP —
composer require pixacolour/sdk - Go —
go get github.com/pixacolour/go-sdk