Trips

Create a trip

Status is worked out from the dates unless given. A destination becomes the trip's first place and its poster art is generated. Trips are unlimited on every plan.

post/api/trips

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/trips
  • Auth: HTTP bearer

Request body

titlestring required

Title, e.g. Japan in autumn.

start_datestring required

Date, YYYY-MM-DD.

end_datestring required

Date, YYYY-MM-DD.

status'past' | 'planning' | 'booked' | 'active'

Worked out from the dates if left out.

notesstring nullable

Notes.

traveler_idsstring[]

Who is going; person ids.

destinationstring

Main destination, e.g. Tokyo.

countrystring nullable

Destination country (name or ISO code).

localitystring nullable

The city the destination belongs to.

locality_countrystring nullable

ISO alpha-2 of that city.

Response

The new trip's id.

idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.