messages_service

Send project messages push

post/api/v1/services/messages/push

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

Changed in 2 of the 50 revisions of this API.12

    • added the new optional request property addresses

      new-optional-request-property

  • fe8e9b73522811See the full diff
    • removed the required property success_delivery from the response with the 200 status

      response-required-property-removed

    • added the required property ok to the response with the 200 status

      response-required-property-added