Sharing

Create an invite code

kind=member adds someone to the whole account (needs a free seat on the plan: 1 on Free, 2 on Plus); kind=trip shares one trip as editor or viewer. The code is redeemed with POST /api/invites/redeem.

post/api/invites

Request

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

Request body

kind'member' | 'trip' required

member shares the whole account; trip shares one trip.

member_role'co_admin' | 'member'

For kind=member.

trip_idstring

For kind=trip.

trip_role'editor' | 'viewer'

For kind=trip.

person_idstring

Link the redeemer to this person in the account.

invited_namestring

Who the code is for, for the list.

Response

The code to pass on.

codestring required

The 8-character invite code.

Changes

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