Skip to content
Navigation

Send an advisor's welcome email

POST
https://api.nicer.travel/maintenance-tasks/send-email

With type welcome-email-advisor, sends the advisor welcome email to userId, an advisor of the caller's company, once per advisor however often it is asked; the join app calls it after sign-up. The reservation-confirmation-email type is retired and always answers 410 BOOKING_EMAIL_RETIRED.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Request body JSON required

One of the following:

  • object
    • type
      string
      required
    • userId
      string
      required
  • object
    • bookingId
      string
      required
    • emails
      array of
      string
      required
    • type
      string
      required
    • role
      optional
      string

Returns

200

OK

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