messages_service

Send project messages push

Changed on
post/api/v1/services/messages/push

Request

  • Base URL
    http://localhost:8888
  • Auth
    HTTP bearer

Request body

titlestring
messagestring required
linkstring

Link for user action, the link will open in Tonkeeper dApp Browser

addressesstring[]
addressstring

If the address has not been transmitted, then push messages will be sent to all users

Example request

{
  "title": "Test title",
  "message": "Test message",
  "link": "https://my_app.com/event",
  "addresses": [
    "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
  ],
  "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
}

Response

Ok

okboolean required

Example response

{
  "ok": true
}

Changes

    • info

      added the new optional request property

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status