API Documentation

Build with TrustYourInbox

Integrate DMARC monitoring and email authentication into your applications with our powerful API

RESTful API

Simple, intuitive REST API with JSON responses

Secure Authentication

API keys and OAuth 2.0 support

Rate Limiting

Fair usage limits to ensure reliability

SDKs Available

Python, Node.js, and PHP libraries

Quick Start

Get up and running in minutes

1

Get Your API Key

Generate an API key from your account settings

2

Make Your First Request

Use the API key in the Authorization header

3

Start Building

Integrate DMARC data into your workflows

Example Request
curl -X GET "https://api.trustyourinbox.com/v1/domains" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

API Endpoints

Core endpoints for DMARC monitoring and management

GET
/api/v1/domainsRequired

List all domains in your account

POST
/api/v1/domainsRequired

Register a new domain

GET
/api/v1/reportsRequired

Fetch DMARC aggregate reports

POST
/api/v1/reports/uploadRequired

Upload DMARC reports programmatically

GET
/api/v1/analytics/{domain}Required

Get analytics for a specific domain

GET
/api/v1/quotaRequired

Check current usage and limits

Authentication

Secure your API requests with API keys or OAuth 2.0

Using API Keys

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

Generate API keys from your account settings

Keep your keys secure and never commit them to version control

Rotate keys regularly for enhanced security

SDKs & Libraries

Official client libraries for popular languages

Ready to start building?

Sign up for a free account and get your API key today