Skip to content
Navigation

Find the portal invitation for a contact the caller verified

POST
https://api.nicer.travel/identity/invitations/registration/lookup

Tells the invitation sign-up page which agency and role a current portal invitation is for, once the signed-in invitee has verified that email or phone number with a one-time code. A contact the caller has not verified gets the same available: false as one with no invitation.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Request body JSON required

  • verificationReference
    string
    required

    The registrationVerification the sign-up challenge returned; with the signed-in session it proves the caller verified the contact with a one-time code.

    pattern: ^[A-Za-z0-9_-]{43}$
  • email
    optional
    string
    format: email · pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
  • phoneNumber
    optional
    string
  • invitationId
    optional
    string
    maxLength: 100 · minLength: 1

Returns

200

OK

JSON

One of the following:

  • object
    • available
      boolean
      required
  • object
    • available
      boolean
      required
    • invitationId
      string
      required
    • expiresAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
    • companyDisplayName
      string
      required
    • logoUrl
      required

      Any of the following:

      • string
      • null
    • role
      advisor
      or
      admin
      required
    • logoBackground
      optional
      light
      or
      dark

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

429

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

Type to search…

↑↓ navigate↵ selectEsc close