TravelyfeHelp
ProgramadoresReferenceSharing

Add Someone Or Join

POST
/v1/itineraries/{id}/people

Add a traveller by userId (as editor or viewer), or join an itinerary with the token from its share link. With sharePlay: true, joins from a FaceTime call with the call's token, as an editor.

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

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

id*string

The itinerary id (UUID).

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/itineraries/497f6eca-6276-4993-bfeb-53cbbbba6f08/people" \  -H "Content-Type: application/json" \  -d '{}'
Empty