Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Send SMS python
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