ClickSend
| Schemes | clicksend:// |
| Cargo feature | service-clicksend |
| Service | https://clicksend.com/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | no title (merged into the body) |
| Body length | 160 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | no |
URL formats
{schema}://{user}:{apikey}@{targets}
{schema} is one of clicksend://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{apikey} | API Key | string | yes | secret | |
{target_phone} | Target Phone No | string | no | prefix +; must match ^[0-9\s)(+-]+$ | |
{targets} | Targets | list | yes | any of target_phone; separated by / | |
{user} | User Name | string | yes |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
batch | Batch Mode | bool | no | |
key | API Key | string | sets {apikey} | |
to | Targets | list | sets {targets} |
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
clicksend://user:pass@33333333333/44444444444/55555555555
clicksend://user:pass@33333333333333?batch=yes
clicksend://user:pass@33333333333/44444444444/55555555555?batch=yes
clicksend://user@33333333333333?key=a%252Bb
clicksend://user@33333333333333?batch=no&key=abc123
clicksend://user:pass@33333333333333?batch=yes&to=66666666666666
Rejected URLs:
clicksend://
clicksend://:@/
clicksend://user@33333333333333
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'clicksend://user:pass@33333333333/44444444444/55555555555'
Notes
ClickSend (clicksend://): SMS through the ClickSend API.