Curl command for new channel

Hi this is Liana i want to create mastermost create channel and github api on my website can anybody provide curl command for creating new channel, i tried but fails to create a channel.
Thanks.

Hi @Lianamelissa,

Are you trying to create the new channel via the command line? Here is some documentation that might help: