DocumentationEnvironments

Environments

Production API URL, mc_live vs mc_test keys, and staging.

Base URLs

EnvironmentAPI base URLDashboard
Productionhttps://api.mailingcore.comhttps://app.mailingcore.com
Local devhttp://localhost:3010http://localhost:5173
StagingTesting-A VPS (internal)Same build, staging data

OpenAPI interactive docs: https://api.mailingcore.com/docs · JSON spec: /docs-json.

API key prefixes

PrefixPurpose
mc_live_Production sends — counts against quota, delivers via SES
mc_test_Sandbox / development — safe for CI and browser tests

SDK configuration

MailingCore.init({
  apiKey: process.env.MAILINGCORE_API_KEY!, // mc_live_ or mc_test_
  baseUrl: 'https://api.mailingcore.com',
})

Headers

HeaderWhen required
Authorization: Bearer <key or JWT>Always
X-Tenant-Id: <tenantId>JWT dashboard calls; optional with API key (tenant resolved from key)
Content-Type: application/jsonPOST/PATCH bodies

Staging notes

The product is currently in MVP staging (Testing-A). Behavior matches production architecture; some features may be behind flags. Check Changelog and FAQ for maturity notes.

Related