This method creates a new channel.
Arguments
This method has the URL https://kazzola.com/api/internetchannel/register
and follows the Kazola Web API calling conventions.
Argument |
Example |
Required |
Description |
name |
Sample Name |
Required |
Channel name.
|
description |
description |
Optional |
Channel description.
|
service |
https://sample.com/service |
Optional |
External web service URL.
|
userCredentials |
1 |
Optional |
Whether it requires user's creditionals e.g 1 = present has, 0 = absent
|
type |
0 |
Required |
Whether Channel will have trigger (set = 0), action (set = 1) or both (set = 2).
|
link |
https://sample.com/channel-image.png |
Optional |
Channel's image URL
|
developedBy |
Kazola Pvt. Ltd. |
Optional |
Channel's developer name.
|
Example Input
{
"name": "Tweet1",
"service": "",
"userCredentials": 0,
"type": 2
}
Response
{
"code": 200,
"message": "Success",
"id": "76-2062299b-56c7-4a76-ac96-cc916a7bcd57"
}