Public API v1

Generate a new shareable invite-link token.

post/v1/trips/{id}/access/invite-tokens

Request

  • Base URL: https://api.mynextadventure.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mynextadventure.cloud/v1/trips/{id}/access/invite-tokens
  • Auth: API key in header X-API-Key

Path parameters

idstring required

Request body

accessLevel'owner' | 'edit' | 'voter' | 'view' required

Access level the resulting invite link will grant.

Response

idstring

Mongo id of the invite token row (used to revoke).

tokenstring required

Opaque token string. Concatenate with the invite URL prefix to share.

inviteUrlstring required

Full URL the recipient can open to accept the invite.

accessLevel'owner' | 'edit' | 'voter' | 'view' required
expiresAtstring date-time required

When this token expires.

Changes

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