Authentication is done through the Apikey present in the SmsWay app (Dot menu → Apikey)
Apikey can be passed to the server in 2 ways:
Example:
both are valid for identifying the user (if both cookies are given priority)
Queries that use Apikey, in addition to the specific response codes for each call, will be able to return the following codes produced during the authentication phase:
Sends a single text message of maximum standard length (160 characters).
If the text time quota has been reached (max number of text messages per minute, hour or day), then the text messages are discarded and the status will be canceled.
Action (POST): /remote/smssend
Parameters:
Response (json):
Please note: the answer refers to the request of shipping. For information on the sending status of the sms use the smsgetlast api
Example:
Asks for information on the latest text messages sent.
Action (GET): /remote/smsgetlast
Parameters:
Response (json):
Example:
Receives the user configuration parameters
Action (GET): /remote/userinfo
Parameters:
Response (json):
Example:
Update user information
Action (POST): /remote/updateuserinfo
Parameters:
Only the parameters expressly indicated in the query are updated.
Response (json):
Example:
This site uses technical cookies to improve your navigation experience I GET IT
More information is available HERE