Create Channel

POST {{baseUrl}}/channel/v1/create

This API is used for creating a channel
- The endpoint for Create Channel is /channel/v1/create - It points to knowledge-mw-service - /v1/channel/create - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.

Request Body

{"request"=>{"channel"=>{"name"=>"Channel Name", "code"=>"channel-id"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.channel.create","ver":"1.0","ts":"2020-12-14T08:27:27.810Z","params":{"resmsgid":"3357da20-3de6-11eb-9ff3-67c41480f6aa","msgid":"3353bb70-3de6-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"identifier":"channel-id","node_id":"channel-id"}}