GitHub Actions Documentation for sms77 SMS & Voice Actions
GitHub Actions can be used to automate developer workflows on GitHub.
This is our GitHub Actions documentation for sms77 SMS & Voice actions. Continue reading for setup options and more.
GitHub Action SMS
[GitHub repo=’github-action-sms’ lang=’en’] SMS GitHub Action on the GitHub MarketplaceFunction
Send SMS to one or more recipients when triggered in a workflow.
Usage
- Set up the credentials by specifying
SMS77_API_KEY
in your repository settings. - Add the following to your workflow:
- name: 'Send SMS' uses: sms77io/github-action-sms@master with: from: 'Tommy Tester' text: 'Sms77.io wishes you a nice day!' to: '+4901234567890,Tina Testing' env: SMS77_API_KEY: ${{ secrets.SMS77_API_KEY }}
Input
apiKey
Mandatory
An API key from sms77.io. Alternatively, use the SMS77_API_KEY environment variable.
to
Mandatory
Phone number(s) or contact(s), separated by comma, to which the SMS should be sent.
text
Mandatory
The actual message you want to send to the recipient(s).
delay
Delayed sending at the specified time: Unix timestamp or format yyyy-mm-dd hh:ii
foreign_id
Foreign ID to be returned in callbacks. Allowed characters: a-z, A-Z, 0-9, .-_@
from
sender ID (sender name); max. 16 numeric or 11 alphanumeric characters
label
User-defined label. Allowed characters: a-z, A-Z, 0-9, .-_@
ttl
Time To Live (validity period) in minutes. Default is 2880
udh
User data header: If set and the text contains hex code, the SMS will be sent as 8-bit binary file.
Output
response
Returns a return code from our API.
GitHub Action Voice
[GitHub repo=’github-action-vpoce’ lang=’en’] Voice GitHub Action on the GitHub MarketplaceFunction
Send a voice message (text to speech message) when triggered in a workflow.
Voice messages are text messages that are sent to the recipient as a call and are then read aloud on the phone.
Use
- Set up the credentials by specifying
SMS77_API_KEY
in your repository settings. - Add the following to your workflow:
name: 'Send Voice' uses: sms77io/github-action-voice@master with: from: 'Tommy Tester' text: 'Sms77.io wishes you a nice day!' to: '+4901234567890' env: SMS77_API_KEY: ${{ secrets.SMS77_API_KEY }}
Inputs
apiKey
Mandatory
An API key from Sms77.io. Alternatively, use environment variable SMS77_API_KEY.
to
Mandatory
Phone number to send the voice message to
text
Mandatory
The actual message content you want to send to the recipients
from
Sender ID (sender name); maximum 16 numeric or 11 alphanumeric characters are allowed
Outputs
response
Returns a return code from our API.
Support
Need help installing or using our GitHub actions? Feel free to contact us!