Allows you to view, find and update channels within Smart Messenger (Connected Communication Channels).
Reading.
Allows you to view the connected channels in the project.
GET https://api.smartsender.com/v1/channels
Main parameters:
Name | Description | Validation |
---|---|---|
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
page | Requested Page | Minimum value 1 |
In case of a successful response, you will receive the following:
{ "cursor": Cursor, "collection": Channel[] }
Answer description:
Getting by ID.
Allows you to view the connected channel in the project by ID.
GET https://api.smartsender.com/v1/channels/{channelId}
If the response is successful, get an object of type Channel.
Update.
Allows you to change the activity of the selected channel.
PUT https://api.smartsender.com/v1/channels/{channelId}
Main parameters:
Name | Description | Validation |
---|---|---|
state | Activity status | Boolean |
In case of a successful response, you will receive the following:
{ "state": true }