Apps

Mute application tokens

Changed on

The method mutes notifications to Telegram users having tokens. <a href="https://yespo.io/support/mute-unmute-tg-notifications#Muting-Notifications">Read more.</a>

post/api/v1/apps/{app_uuid}/token/mute

Request

Path parameters

app_uuidstring required

Application ID

Request body

tokenstring required

Application token.

durationinteger

Mute duration in seconds. If not set, notifications are muted permanently.<br><ul><li>Minimum value: 5</li><li>Maximum value: 31,536,000 (approximately 1 year)</li></ul>

Example request

{
  "token": "8256374910:BBGHQOp2J_Fk7mZyw34ty660nmHs5d7JKLP",
  "duration": 5
}

Response

OK

string required

Changes