HGV Traders Docs

Notification tokens

Register device push notification tokens via the bearer-authenticated API.

Overview

Mobile clients can register a device push token against the authenticated user's profile:

POST /api/v1/notification_tokens HTTP/1.1
Host: hgvtraders.com
Authorization: Bearer <token>
Content-Type: application/json

{
  "token": "ExponentPushToken[abc123]"
}
{
  "data": {
    "ok": true
  }
}

Requirements

  • Valid bearer token required — see Authentication
  • Request body must include a non-empty token string
  • Invalid JSON returns 400; missing or invalid bearer returns 401

Push delivery

Token storage is implemented; push notification sending is deferred until a HGV Traders mobile app ships. Register tokens now so future releases can target devices without a client update.

Rate limits

This route has no dedicated rate limit today. See Rate limits for limits on other route classes.