Appearance
The bluefox.email API
The bluefox.email API lets you manage every resource in your project - campaigns, templates, segments, domains, sender identities, contacts, subscriber lists, and more - and send transactional and triggered emails with attachments.
For AI agents and code generators
The full is served live from the API itself, so an agent can fetch it directly and start calling endpoints without reading this page:
GET It always reflects the current state of the API - every endpoint, request/response schema, and error shape on every resource's reference page (see the sidebar) is generated from that same document.
Authentication
Every endpoint is authenticated with a project API key, sent as a bearer token:
Authorization: Bearer YOUR_API_KEYCreate and manage keys under Project Settings > API Keys in the app. Keys are not exposed through the API itself. Never expose an API key in frontend/client-side code - call the API from your backend.
A few endpoints (documented on the Subscriptions and Contacts reference pages) also accept requests from a whitelisted browser Origin, for use directly from a signup form or widget without exposing an API key.
Response format
Every response is wrapped the same way:
json
// success
{ "status": 200, "result": { "...": "..." } }
// error
{ "status": 400, "error": { "name": "VALIDATION_ERROR", "message": "Missing required field: name" } }Pagination
List endpoints accept:
| Parameter | Default | Notes |
|---|---|---|
limit | 10 | Capped at 30 |
skip | 0 | |
sort | resource-specific | See each resource's reference page (in the sidebar) for the allowed fields |
order | desc | asc or desc |
filter[<field>] | - | Exact-match filter on a top-level field, e.g. filter[name]=Welcome |
...and return count (the total number of matching items, not just this page) and next (the full URL of the next page, or null on the last page) alongside items.
Base URL
https://api.bluefox.emailEvery project-scoped resource is shaped as /v1/projectId/{projectId}/{resource}. A handful of endpoints that predate this shape - /v1/contacts/{projectId}, /v1/send-transactional, /v1/send-triggered, /v1/subscriber-lists/{id}, and /v1/signup-forms/{id} - use an older flat URL and are documented separately below. They're also included in the spec for completeness.
API Reference
Every resource has its own reference page, generated from the same OpenAPI spec AI agents use: every endpoint, parameter, request body, and response shape.
Project setup
- Project – Read and update project settings and sending status.
- Sender Identities – Manage the From addresses your emails are sent from.
- Domains – Add a sending domain, get its DNS records, and verify it.
- Webhook – Configure the project webhook.
- Sending Setup – AWS regions, deliverability figures, test webhook events, and DNS record export.
- Production Access – Leave sandbox mode and request higher sending limits.
- BYO AWS – Validate your own Amazon SES credentials.
- Design Systems – Read and override the project's email design system.
Email content and sending
- Templates – Create and manage reusable email templates.
- Campaigns – Create campaigns and fetch their stats and recipients.
- Transactional Emails – Manage one-to-one emails like password resets and receipts.
- Triggered Emails – Manage emails sent to list subscribers on demand.
- Send Email – Send transactional and triggered emails.
- Test Email – Send a test before going live.
- Email Error Log – Debug sends that were accepted but never arrived.
- Gallery – Upload and organize images for your emails.
Contacts and audience
- Contacts – Manage contacts, custom fields, and tags.
- Segments – Build dynamic groups of contacts.
- Subscriber Lists – Manage lists and subscribe contacts.
- Subscriptions – Browser-safe subscribe, pause, and unsubscribe endpoints.
- Signup Forms – Manage signup forms and get their embed HTML.
- Suppression List – Keep addresses from ever being emailed.
Legacy endpoints
These older, flat-URL endpoints still work and are documented separately, but new integrations should use the resources listed in the sidebar instead:
- Contacts Management – Create, retrieve, update, and delete contacts programmatically, independent of any list.
- Subscriber List Management – Programmatically subscribe, unsubscribe, pause, activate, and update subscribers in your lists.
- Send Transactional Email – Deliver real-time, one-to-one emails such as password resets, order confirmations, and notifications.
- Send Triggered Email – Automate email sequences based on user actions, such as onboarding emails or follow-ups.
- Send Attachments – Attach files to your emails while ensuring proper formatting and size limitations.
Explore the API documentation to seamlessly integrate BlueFox Email into your workflows. 🚀