Register a push notification token

Register a device push token for the authenticated traveler.

If a token with the same value already exists, it is un-revoked and its
last_seen_at is updated. This endpoint is idempotent for the same
(traveler_profile_id, token) pair.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for POST /v1/me/push-tokens.

string
required
^(ios|android)$
string
required
length between 1 and 512
length ≤ 32
Responses

401

Authentication required

503

Database unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json