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

Version 1 Current »

This API allows you to edit a single message and delete groups of messages within a specific contact gateway.

 

Editing a message.

Allows you to edit the selected message.

 

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:

 

{
    "state": true
}

 

Deleting messages.

Allows you to delete a specific group of messages.

 

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:

 

{
    "state": true
}

 

  • No labels