Send SMS python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scanId = create_contact_by_scan_id.contact.customAttributes[0] | |
contactId = create_contact_by_scan_id.contact.contactId | |
sms = ospro.scan(scanId).sms().send({ | |
# You may use an SMS template to send SMS or pass the body as plain text | |
'body': 'Congratulations! You are the winner of our campaign', | |
'contactId': contactId | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment