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
StagingAvailable on requestSame dashboard with test 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

Staging mirrors production architecture with separate credentials and data. Use mc_test_ keys for integration work before going live. See FAQ for maturity notes.

Related