Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
PUT https://api.smartsender.com/v1/gates/{gateId}/messages

 

URL parameters:

Name

Description

gateId

Gateway ID

 

Main parameters:

Name

Description

Validation

text

Message text to which the message should be changed

String

messageId

Sent message ID

Integer

If the response is successful, you will receive the following:

...

Code Block
DELETE https://api.smartsender.com/v1/gates/{gateId}/messages

 

URL parameters:

Name

Description

gateId

Идентификатор шлюза

 

Main parameters:

Name

Description

Validation

messageIds

List of sent message IDs

Array<int>

 

If the response is successful, you will receive the following:

...

Code Block
{
    "state": true
}

 

Creation.

Use Channels API (gateway creation). To do this you need a channel ID.