SOAP API method Account_sendSms

Back to API references

Description
Use this method to send a text message. The sent message will be added to the statistics. Note: SMS longer than 160 characters will be split and logged seperately. So sending a SMS of 200 characters will show up in the statistics as 2 messages.

Parameters
Parameter 'number' : string
The phone number to send to.
Parameter 'text' : string
The text message
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt