SmsService
A list of all methods in the SmsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
SmsMessages_SendSmsToPhoneNumbers | Send an SMS to one or multiple phone numbers. Phone numbers must be prefixed with a + and country code (e.g. +4670xxxxxxx for a Swedish mobile phone number). |
SmsMessages_SendSmsToPhoneNumbers
Send an SMS to one or multiple phone numbers. Phone numbers must be prefixed with a + and country code (e.g. +4670xxxxxxx for a Swedish mobile phone number).
- HTTP Method:
POST
- Endpoint:
/api/v2/sms/sendToPhoneNumbers
Parameters
Name | Type | Required | Description |
---|---|---|---|
body | SendSmsRequest | ✅ | The request body. |
Return Type
SendSmsResponse
Example Usage Code Snippet
import { SendSmsRequest, VoyadoEngage } from 'voyado_engage';
(async () => {
const voyadoEngage = new VoyadoEngage({
token: 'YOUR_TOKEN',
});
const input: SendSmsRequest = {
description: 'description',
invoiceReference: 'invoiceReference',
message: 'message',
phoneNumbers: ['phoneNumbers'],
sender: 'sender',
};
const { data } = await voyadoEngage.sms.smsMessagesSendSmsToPhoneNumbers(input);
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs