Skip to content
Navigation

Get a cruise booking sign-on link

POST
https://api.nicer.travel/cruises/sso-url

Signs in to the cruise booking partner with Nicer's own credentials and answers a single sign-on link that opens its booking tool as the caller. Any signed-in person may call it. The body is accepted but ignored: the program is fixed and userId is never read. When the partner fails, the answer is a 500 error.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Returns

200

OK

JSON
  • data
    string
    required

    The sign-on link into the cruise booking tool, for the advisor's browser to open: whoever holds it is signed in as the advisor.

  • message
    string
    required

    A note on the outcome, for people.

  • successful
    boolean
    required

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