Real Messaging Engine

API Reference

A single searchable index of the RME developer surface.

REST resources

MethodPathDescription
POST/rme/v1/messagesSend or schedule one message
POST/rme/v1/messages/bulkSend up to 500 messages
GET/rme/v1/messages/{id}Retrieve message and events
GET/rme/v1/messagesQuery by contact, status, or date
DELETE/rme/v1/messages/{id}Cancel a scheduled message
GET/rme/v1/templatesList templates
POST/rme/v1/templates/{name}/renderPreview merged content
GET/rme/v1/consentRead consent state
POST/rme/v1/consentRecord consent change
GET/rme/v1/suppressionsList suppression entries
POST/rme/v1/suppressionsAdd a suppression
DELETE/rme/v1/suppressions/{id}Remove a suppression
POST/rme/v1/devicesRegister a push device
POST/rme/v1/events/{provider}Provider webhook intake
GET/rme/v1/healthProvider and configuration health

Apex classes

ClassKey members
RME_Messagebuilder(), sendAll(), Result
RME_MessageBuilderchannel(), channels(), strategy(), templateName(), templateLanguage(), toContact(), toAddress(), toPhone(), recordId(), parameter(), parameters(), attachment(), category(), fromDomain(), replyTo(), priority(), schedule(), expiresAfterHours(), aiBlock(), build(), send()
RME_Schedulercancel(), reschedule(), pending()
RME_ConsentisGranted(), grant(), revoke(), history()
RME_SuppressionisSuppressed(), add(), remove(), list()
RME_TemplateRendererrender(), preview(), Preview
RME_DeliveryStatusget(), events(), contactIdFor()
RME_Diagnosticsrun(), Result
RME_TestmockProvider(), mockEvent()

Flow actions

Send Message (RME) · Schedule Message (RME) · Cancel Scheduled Message (RME) · Check Consent (RME) · Add to Suppression (RME) · Render Template (RME) · Get Delivery Status (RME)

Platform Events

RME_Delivery_Event__e · RME_Message_Failed__e · RME_Inbound_Message__e · RME_Consent_Changed__e · RME_Provider_Health__e

Objects

Message__c · Delivery_Status__c · Delivery_Attempt__c · Message_Reply__c · Message_Tracking__c · Template__c · Provider_Config__c · Sending_Domain__c · Consent__c · Suppression__c · Audit_Log__c · RME_Device__c · Outbound_Webhook__c

Status values

ValueMeaning
QUEUEDAccepted, awaiting dispatch
SCHEDULEDHeld for a future send time
SENTHanded to the provider
DELIVEREDProvider confirmed delivery
FAILEDRetry policy exhausted
SUPPRESSEDBlocked by suppression or consent
EXPIREDNot sent within its validity window
CANCELLEDCancelled before dispatch

Error codes

INVALID_PAYLOAD · UNAUTHORIZED · NO_CONSENT · SUPPRESSED · INVALID_ADDRESS · TEMPLATE_NOT_FOUND · DOMAIN_NOT_VERIFIED · RATE_LIMITED · PROVIDER_ERROR · CIRCUIT_OPEN · QUIET_HOURS

Versioning

The REST path carries the major version (/v1). Additive changes ship without a version bump; breaking changes ship as /v2 with at least twelve months of overlap. Apex global signatures in a managed package are permanent — deprecated members are annotated, never removed.

Continue to Enterprise Intelligence.

Was this helpful?

Last updated 1 month ago