email-send-v2

Send an email using a saved template ID with substitutions

Template variables are replaced with provided substitution values. The from and subject fields can optionally override template defaults.

post/v2/email/template/send

Request

  • Base URL: https://api.tracklysms.com/api
  • URL: https://api.tracklysms.com/api/v2/email/template/send
  • Auth: API key in header X-Api-Key

Request body

idempotency_keystring

Idempotency key

metadataobject

Custom metadata

send_atstring date-time

Scheduled send time

subjectstring

Subject (overrides template default)

substitutionsobject

Template variable substitutions

template_idstring required

Email template ID

tostring required

Recipient email address

Response

Email accepted

messageIdstring

Email message ID

statusstring

Message status (queued, scheduled, simulated)

Changes

No recorded changes to this operation across all 1 revision of this API.