Skip to documentation
Dashboard
Get started

API Reference

The complete public contract for RouteKite email, attachments, webhooks, and templates.

On this page

Base URL

All supported developer endpoints use this versioned base URL.

Base URL
const ROUTEKITE_API_URL = "https://routekite.com/api/v1";

Supported endpoints

MethodPathPurpose
POST/api/v1/emailsSend one transactional email.
POST/api/v1/emails/batchSend up to 100 independent emails.
GET/api/v1/emailsList sent emails.
GET/api/v1/emails/{messageId}Retrieve normalized delivery state.
GET/api/v1/emails/{messageId}/eventsRetrieve the delivery timeline.
GET/api/v1/emails/{messageId}/attachmentsList email attachments.
GET/api/v1/emails/{messageId}/attachments/{attachmentId}Retrieve an email attachment and private download.
POST/api/v1/attachmentsPrepare a private upload.
GET/api/v1/attachments/{attachmentId}Retrieve attachment lifecycle state.
POST/api/v1/attachments/{attachmentId}/completeValidate uploaded bytes.
GET/api/v1/webhooksList webhook endpoints.
POST/api/v1/webhooksCreate a webhook endpoint.
DELETE/api/v1/webhooks/{webhookId}Delete a webhook endpoint.
GET/api/v1/webhooks/{webhookId}/deliveriesList delivery attempts.
GET/api/v1/templatesList templates.
POST/api/v1/templatesCreate a template draft.
GET/api/v1/templates/{templateId}Retrieve a template and draft.
PATCH/api/v1/templates/{templateId}Update template metadata.
DELETE/api/v1/templates/{templateId}Delete a template.
PUT/api/v1/templates/{templateId}/draftSave a canonical draft revision.
POST/api/v1/templates/{templateId}/publishPublish a saved revision.
POST/api/v1/templates/{templateId}/duplicateDuplicate saved template content.
GET/api/v1/templates/{templateId}/versionsList immutable versions.
GET/api/v1/templates/{templateId}/versions/{versionId}Retrieve an immutable version.

Common behavior

  • Authenticate with a Bearer API key.
  • Use JSON for RouteKite request and response bodies.
  • Store X-Request-Id for diagnostics.
  • Honor Retry-After and RateLimit response headers.
  • Treat only documented /api/v1 endpoints as supported contracts.
  • Use the OpenAPI document for a machine-readable contract.
On this page