Back to API references

SOAP API method Account_sendSms

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

Name Type Description
number * string The phone number to send to.
text * string The text message
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
value boolean

Structure 'login'

Name Type Description
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt