SMS
Thesms group sends text messages and lists your numbers and message history.
| Method | Scope |
|---|---|
sms.listPhoneNumbers() | phone-numbers:read |
sms.listMessages() | sms:read |
sms.sendMessage(input) | sms:send |
SendSmsInput, SmsMessageSummary, PhoneNumberSummary, SmsMessageStatus, PhoneNumberStatus.
email group sends transactional email and reads message records.
| Method | Scope |
|---|---|
email.listMessages() | emails:read |
email.getMessage(id) | emails:read |
email.sendMessage(input) | emails:send |
SendEmailInput, EmailMessageSummary, EmailMessageStatus.
Verification
Theverification group runs one-time-code flows over a channel such as SMS. You start an attempt, then check the code the user entered.
| Method | Scope |
|---|---|
verification.start(input) | verification:start |
verification.check(input) | verification:check |
verification.listAttempts() | verification:read |
StartVerificationInput, CheckVerificationInput, VerificationCheckResult, VerificationChannel, VerificationAttemptStatus.
Errors
Every method throws aVoyantApiError with status, requestId, and body on failure. See Errors and transport.