Skip to main content
Voyant handles the outbound communication a travel app relies on: SMS to travelers, transactional email, and one-time-code verification. All three are groups on the Cloud SDK client.

SMS

The sms group sends text messages and lists your numbers and message history.
Key types: SendSmsInput, SmsMessageSummary, PhoneNumberSummary, SmsMessageStatus, PhoneNumberStatus.

Email

The email group sends transactional email and reads message records.
Email sends are admitted by an organization-scoped durable ledger. Retrying the same Idempotency-Key with the exact same normalized request returns the persisted canonical EmailDeliveryResult without another provider acceptance. Reusing it with a changed recipient, body, reply-to, or attachment fails with 409. Keep the key stable for one logical attempt; do not generate it inside a transport retry callback. The result includes protocolVersion, operationId, opaque backendIdentity and accountIdentity, and acceptedCount: 1. A worker can bind these fields to the safe, non-delivering /email/v1/idempotency-conformance preflight so a backend credential swap fails closed after restart. Key types: SendEmailInput, EmailDeliveryResult, EmailMessageSummary, EmailMessageStatus.

Verification

The verification group runs one-time-code flows over a channel such as SMS. You start an attempt, then check the code the user entered.
Key types: StartVerificationInput, CheckVerificationInput, VerificationCheckResult, VerificationChannel, VerificationAttemptStatus.

Errors

Every method throws a VoyantApiError with status, requestId, and body on failure. See Errors and transport.