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_KEY

Create and manage keys under Project Settings > API Keys in the app, or via the /v1/projectId/{projectId}/api-keys endpoints themselves. 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:

ParameterDefaultNotes
limit10Capped at 30
skip0
sortresource-specificSee each resource's reference page (in the sidebar) for the allowed fields
orderdescasc 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.email

Every 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 - Project, API Keys, Design Systems, Domains, Sender Identities, Webhook, Contacts, Campaigns, Transactional Emails, Triggered Emails, Templates, Segments, Subscriber Lists, and Suppression List - has its own reference page in the sidebar, generated from the same OpenAPI spec AI agents use: every endpoint, parameter, request body, and response shape.

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. 🚀

Frequently Asked Questions

How do I authenticate with the BlueFox Email API?

Include your project's API key as a Bearer token in the Authorization header of every request: Authorization: Bearer YOUR_API_KEY. Manage keys under Project Settings > API Keys in the app, or via the /v1/projectId/{projectId}/api-keys endpoints. Never use your API key in frontend code; always call the API from your backend.

What can I do with the BlueFox Email API?

The 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 to any email address, with file attachments.

What is the base URL for the BlueFox Email API?

The base URL for all BlueFox Email API endpoints is https://api.bluefox.email. Most resources are shaped as /v1/projectId/{projectId}/{resource}; a handful of older endpoints predate that shape and use a flat URL instead - see the legacy endpoints below.

Can I use the API to manage subscriber lists without sending emails?

Yes. The subscriber list management endpoints let you subscribe, unsubscribe, pause, activate, and list subscribers programmatically, independent of sending any email. This is useful for syncing subscription state from your own application.

Is there a machine-readable spec AI agents and code generators can use?

Yes. The full OpenAPI 3.0 spec is served live at https://api.bluefox.email/v1/openapi.json. AI agents can call it directly to discover every endpoint, request/response schema, and error shape without needing access to this documentation site.

What does a BlueFox Email API response look like?

Every response is wrapped as { "status": <http status code>, "result": ... } on success, or { "status": <http status code>, "error": { "name": ..., "message": ... } } on failure.

How does pagination work?

List endpoints accept limit (default 10, max 30) and skip query parameters, and return count (the total number of matching items) and next (the full URL of the next page, or null if you're on the last page) alongside items.