sender |
If you have a promotional account, do not send this parameter. If you have a transactional account, use this field to specify the sender name for your message. Sender name must be 6 alpha characters and should be pre-approved by Textlocal. In the absence of approved sender names, use the default 'TXTLCL' |
message |
The message content. This parameter should be no longer than 766 characters. See Helpful Information for message length details. The message also must be URL Encoded to support symbols like &. |
Login Parameters (Additional Information) |
username |
The email address used to log into Textlocal. |
hash |
Your secure hash can be found within Messenger in the main navigation under "Help->All Documentation".
Alternatively you can use the password parameter instead and use your Textlocal password in plain text. |
Optional Parameters |
apiKey |
This can be used instead of the username/hash/password. You can create them in your Messenger Control Panel (click here) for each application, and limit the usage of them by host IP Address. |
numbers |
Comma-delimited list of mobile numbers in international format (i.e. 918123456789). |
group_id |
This parameter can be used in place of the numbers parameter in order to send to an entire contact group. This parameter should contain the ID of the relevant group, which can found either within Messenger (in the "Reports" - "Advanced Reports" - "List of Group ID's" section) or by running the get_groups command. Additionally group 5 contains "contacts" and group 6 contains "opt-outs". |
schedule_time |
This parameter can be used to specify a schedule date/time for your message, which should be provided in Unix timestamp format. Times should be provided in GMT. |
receipt_url |
Use this field to specify an alternative URL to which the delivery receipt(s) will be sent. See handling receipts documentation. |
custom |
This value will be set against the message batch and will passed back in the delivery receipts. This allows you to match delivery receipts to their corresponding messages. |
optouts |
Can be set to true in order to check against your own opt-outs list and Textlocal's global opt-outs database. Your message will not be sent to numbers within these lists. If not provided defaults to false. |
unicode |
Set this value to true to specify that your message body will contain unicode characters. See Encoding/Decoding Unicode Documentation |
test |
Set this field to true to enable test mode, no messages will be sent and your credit balance will be unaffected. If not provided defaults to false |