Create Push Token
documentedCreate a push token.
POST /api/v1/push.tokenNotificationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://rocket.chat/api/v1/push.token" \
-X POST \
-H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-User-Id: {{$user_id}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"type": "{{$type}}", "value": "{{$value}}", "appName": "{{$appName}}"}'