Page History
...
The method endpoint is https://api.flock.co/v1/channels.create
and follows the method calling conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
token | String | Yes | Authentication token of the user creating the channel |
name | String | Yes | Name of the channel (max 255 characters) |
purpose | String | No | Channel purpose |
profileImage | String | No | URL of the channel's profile image |
type | String | No | Can be "public" or "private" . Set to "private" by default. |
members | Array | Yes | A list of user identifiers to be added to the channel |
Response
In response, the channel identifier is returned.
...