Skip to content
Navigation

List a community channel's members

GET
https://api.nicer.travel/community/channels/{channelId}/members

Returns the userIds of everyone in one channel of the agency's community. A public channel answers to anyone in the agency, a private one only to its members. Errors: 404 ERROR_ITEM_NOT_FOUND for a channel there is not, a channel of another agency or a private channel the caller is not in; 400 ERROR_COMPANY_REQUIRED and 403 ERROR_DO_NOT_HAVE_PERMISSION as on every community route.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • channelId
    string
    required

Returns

200

OK

JSON
  • channelId
    string
    required

    The channel.

  • members
    array of
    object
    required

    Everyone in the channel now.

    • userId
      string
      required

      The member's userId.

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