Skip to main content
Device-facing endpoints, authenticated with the app’s public key (grv_pub_, sent as X-API-Key or Authorization: Bearer). Rate limit: 240 req/min per key.

Subscribe

Subscriptions upsert by (app, deviceToken, tokenType, channel): re-registering updates rather than duplicates. Returns 201 on create, 200 on update.

List a device’s subscriptions

Returns the device’s subscriptions — useful for reconciliation after reinstall or token rotation.

Unsubscribe

With channel + tokenType, removes that one subscription. With deviceToken alone, wipes every subscription for the device (logout). Returns { "removed": <count> }.