Log in on web-site UniSender.
To get API access key, go to section "Account setup ".
You will find your API access key on the tab “Integration and API".
For API testing, select test mode in front of your access key, and click "Save."
For sending messages through UniSender on Corezoid you have ready-made processes for UniSender method calling available:
- sendSms – SMS message sending
- checkSms – check of SMS message delivery status
How to work with these methods in Corezoid?
You may use each process individually (for example, only for checking email delivery status), and call the required methods in succession with the use of logic RPC.
Click Use this process and template of process "UniSender_SMS sending" will copy to your environment.
In the process of SMS message sending through UniSender you may use process templates individually for each method presented in the folder (sendSms, checkSms) or call them in succession from the main process "SMS message sending through UniSender" with the use of RPC logic.
To test all processes go to dashboard
of the main process "SMS message sending through UniSender" and click Add task
- to add the request.
In the opened window specify:
key
- API UniSender access keysender
- sender: phone number, or line of up to 11 Latin letters or digitstext
- message text, up to 1000 symbols. Example: text=Hello,+it's+a+test+messagephone
- recipient phone number in the international format with the country code (leading “+” can be omitted).
After the request parameters are specified, click Send task
.
As a result of process work the request will be passing along the process and then will be transferred to one of the final states (red color node).
If all parameters are stated correctly, SMS message is sent, and the request goes to the finite state with the relevant status of SMS message sent.
In case of error, the request goes to the finite state with the relevant error name.
Full list of UniSender methods and their description is available at web-site.