SmsService
A list of all methods in the SmsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
sms_messages_send_sms_to_phone_numbers | 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). |
sms_messages_send_sms_to_phone_numbers
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 |
---|---|---|---|
request_body | SendSmsRequest | ✅ | The request body. |
Return Type
SendSmsResponse
Example Usage Code Snippet
from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import SendSmsRequest
sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)
request_body = SendSmsRequest(
description="description",
invoice_reference="invoiceReference",
message="message",
phone_numbers=[
"phoneNumbers"
],
sender="sender"
)
result = sdk.sms.sms_messages_send_sms_to_phone_numbers(request_body=request_body)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs