Created
June 28, 2022 17:09
-
-
Save birinder-lobana/ba6da3a8a9ab23dab9ad1e1301948248 to your computer and use it in GitHub Desktop.
Create SMS template in an Openscreen Project using python SDK
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
projectId = os.environ.get('PROJECT_ID') | |
sms_template = os.project(projectId).smsTemplates().create({ | |
'body': 'Body of the message for {{asset.name}}', | |
'smsTemplateName': 'firstTemplate', | |
'responseUrl': 'https://myapp/sms-response', | |
'statusUrl': 'https://myapp/sms-status' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment