---
search:
  tags:
    - Realtime
    - POST
seo:
  description: >-
    A short-lived credential for opening the realtime WebSocket from a context…
    Reference for the POST /realtime/token endpoint in the TipPage Developer API
    API.
sidebar:
  badge: POST
  label: Mint a realtime handoff token
title: Mint a realtime handoff token
type: openapi-operation
---
A short-lived credential for opening the realtime WebSocket from a context that shouldn't hold the API key. Send `{"data": {"token": "..."}}` as the first WebSocket message before it expires; the connection then behaves exactly like an API-key connection (channels come from the key's scopes at connect time, and the connection outlives the token). Daemons that hold the key can skip this endpoint and connect with `{"data": {"apiKey": "..."}}` directly. Requires a key with at least one realtime-capable scope. Guide: https://docs.tippage.com/api/realtime

<Operation source="api-reference" id="mintrealtimetoken" />
