Skip to content
Navigation

Join a community channel

POST
https://api.nicer.travel/community/channels/{channelId}/join

Adds the caller to a public channel of the agency's community; joining a channel they are already in changes nothing and still answers joined true. A private channel cannot be joined: one of its members or an admin adds people with POST /community/channels/{channelId}/members. Any member of the agency may call it. Errors: 400 ERROR_UNAUTHORIZED for a private channel or a channel of another agency; 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 the caller is in now.

  • joined
    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