HTTPS API v2 / Get the BOT RCS list

Calling address

In order to get a list of RCS agents using the Remote Service, you must send a specific application via HTTP or HTTPS using the POST method.

templates/rcs

Available parameters

Parameter Type Sample value or format Description
username String login Username to the account.
password String haslo Password to the account.

Parameters marked in bold are mandatory.

Reply return

Depending on the data sent, SerwerSMS.pl will generate in response a document in JSON/XML format with information on the actions performed. In the case of a valid request, the following structure will be returned:

{
   "items":[{
      "name":"SerwerSMS",
      "description":"Description about RCS agent.",
      "rcs_id":"1dgd2bss-bee6-134f-8d56-2655f4047649",
      "networks":[26001,26002],
      "webhook":"http://adres.pl",
      "online":1,
      "active":2
   }]
}

The networks element specifies a list of available networks for the selected agent. An active flag of 2 indicates that the BOT is ready for use. The value 1 means that the application is being verified.