Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The method endpoint is https://api.flock.co/v1/channels.create and follows the method calling conventions.

Parameters

NameTypeRequiredDescription
tokenStringYesAuthentication token of the user creating the channel
nameStringYesName of the channel (max 255 characters)
purposeStringNoChannel purpose
profileImageStringNoURL of the channel's profile image
typeStringNoCan be "public" or "private". Set to "private" by default.
membersArrayYesA list of user identifiers to be added to the channel

Response

In response, the channel identifier is returned.

...