Skip to content
Navigation

Share the caller's saved list

PUT
https://api.nicer.travel/favorites/share

Shares the caller's saved list through a link and returns its id. One link per person: sharing again returns the same link, with the greeting name and photo refreshed. Anyone with the link can read the list.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Request body JSON required

  • avatarUrl
    optional

    Any of the following:

    • string
    • null

Returns

200

OK

JSON
  • shareId
    string
    required
    pattern: ^[A-Za-z0-9_-]{22}$

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close