/
/GroundControl push server API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 1mo ago
  • post/lightningInvoiceGotSettled
  • postAssociate bitcoin addressess / ln preimage hashes / txids that you wish to be notified about to specific push token. Token serves as unique identifier of a device/user. Also, OS of the token
  • postThis call is a reverse call for /majorTomToGroundControl. In case user doesnt want to track addresses/txids/ln invoice hashes, he makes this call along with his token/os so GroundControl can remove them from the database
  • get/ping
  • postReturns levels of notifications user currently subscribed to
  • postSets levels of notifications user is subscribed to; also saves some user info, like lang or app version
  • postPuts push in send queue. Push body should be any descendant of `/components/schemas/PushNotificationBase`

Sets levels of notifications user is subscribed to; also saves some user info, like lang or app version

post/setTokenConfiguration

Request body

level_allboolean
level_transactionsboolean
level_newsboolean
level_priceboolean
level_tipsboolean
redactedboolean

when true, server sends generic push text and omits data payload

langstring
app_versionstring
tokenstring required
osstring required

Response

OK

Changes