Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

Name

Description

cursor

Object of type Cursor

collection

Array of objects of type Channel Channel

 

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
}

 

  • No labels