Send sms through API

hello, i need to send sms by an URL through API (HTTP Request). Can you help me to know where i configure this parameter?

    • 2016-03-17 17:23:18 PID56eb1236a5e29 - L2 sendsms_process # saved smslog_id:12 id:12
    • 2016-03-17 17:23:20 PID56eb1236a5e29 - L2 generic_hook_sendsms # failed smslog_id:12 resp:[] smsc:generic
    • 2016-03-17 17:23:20 PID56eb1236a5e29 - L2 sendsms_process # fail no hook for sendsms
    • 2016-03-17 17:23:20 PID56eb1236a5e29 - L2 sendsms_process # end
    • 2016-03-17 17:23:20 PID56eb1236a5e29 - L2 sendsmsd # result queue_code:5fce66073b10cd209a4a26a6b39b5b50 to:5511946756063 flag:2 smslog_id:12
    • 2016-03-17 17:23:20 PID56eb1236a5e29 - L2 sendsmsd # finish processing queue_code:5fce66073b10cd209a4a26a6b39b5b50 uid:4 sender_id:1234 queue_count:1 sms_count:1
      10.10.70.23 10.10.10.90 2016-03-17 18:03:29 PID56eb1ba0b3b46 admin L2 user_config # saving username:admin error_string:[User configuration has been saved]

you have to take a user with enabled webservice, take the token and complete the api-call as described in the documentation.
example from anton:
http://x.dom/index.php?app=ws&u=anton&h=a45a02791b2fe2fedb078c39fd83637a&op=pv&to=0987654321&msg=test+only

Hi Andre,

I have a doubt.

I can send the same message to multiple numbers

http://x.dom/index.php?app=ws&u=anton&h=a45a02791b2fe2fedb078c39fd83637a&op=pv&to=0987654321,0987654322&msg=test+only

how to send different messages to different numbers on the same call?

http://x.dom/index.php?app=ws&u=anton&h=a45a02791b2fe2fedb078c39fd83637a&op=pv&to=0987654321,0987654322&msg=test+only,test+only2

In this way it sends

Number: Text
0987654321: test + only, test + only2
0987654322: test + only, test + only2

And I want:

Number, text
0987654321: test + only
0987654322: test + only2

i don’t think this will work, you have to perform n webservice-requests.
It is the same as sending via webinterface: you can send the same message to n-numbers at once, but not different messages in a row.