Skip to content
Navigation

Get the names of users

POST
https://api.nicer.travel/identity/users/resolve

Returns the names and avatars of up to 200 users by id, with the agency's AI assistant user first when its id is among them. Only the caller and the people who share an active agency with them are resolved (anyone for Nicer staff); the other ids are left out, as unknown ones are.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Request body JSON required

  • userIds
    array of
    string
    required
    minLength: 1

Returns

200

OK

JSON
  • users
    array of
    object
    required
    • familyName
      string
      required
    • fullName
      required

      Any of the following:

      • string
      • null
    • givenName
      string
      required
    • userId
      string
      required
    • avatar
      optional
      string

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