API Reference

SpoofSentry REST API — build integrations with DMARC monitoring, enforcement, and sender governance.

Quick Start

Authentication

All authenticated endpoints accept a Bearer token or session cookie. API keys can be created in Settings → API Keys.

# Using API key

curl -H "Authorization: Bearer YOUR_API_KEY" \

https://api.spoofsentry.com/api/domains

TypeScript SDK

// Install

npm install @domainseal/sdk

import { SpoofSentryClient } from '@domainseal/sdk';

const client = new SpoofSentryClient('YOUR_API_KEY');

const domains = await client.domains.list();

Rate Limits

API keys: 200 req/min. General routes: 100 req/min. Auth routes: 10 req/min. Rate limit headers: X-RateLimit-Limit, X-RateLimit-Remaining.

Error Codes

CodeHTTPDescription
UNAUTHORIZED401Missing or invalid authentication
FORBIDDEN403Insufficient permissions or API key scope
PLAN_LIMIT403Feature not available on current plan
CREDIT_EXHAUSTED403AI credit budget exhausted for this period
NOT_FOUND404Resource not found
VALIDATION_ERROR400Request body failed schema validation
DUPLICATE409Resource already exists
RATE_LIMITED429Too many requests — retry after cooldown

Endpoints

0 endpoints · Download OpenAPI spec
SpoofSentry - DMARC Monitoring & Email Authentication