TravelyfeHelp
ProgramadoresReferenceAccount

Register A Live Activity

PUT
/v1/account/live-activities

Registers a Live Activity's push token: start to begin one, update to change one.

Only available to the Travelyfe apps. Tokens issued to other apps receive forbidden.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/account/live-activities" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "kind": "start",    "environment": "production"  }'
Empty