post https://api.amio.io/v1/channels
Response Body Params
| Parameter | Type | Description |
|---|---|---|
| id | string | Id of the channel. |
| type | string | Channel type specifying the underlying platform: viber. |
| name | string | Name of the channel. |
| mode | string | Mode of the channel. |
| webhook | object | Webhook object specifies the entry point to which all events are delivered. It is null if there is no webhook set. See Webhooks for more details. |
| webhook.id | string | Id of the webhook. |
| webhook.url | string | Webhook url. |
| webhook.secret | string | Secret token for securing received webhook calls, see Webhook Security for more details. |
| webhook.ssl_verification | string | Specifies whether to verify SSL certificates or not. Setting this option to false is not recommended. |
| viber | object | Represents a Viber Bot account connected to the channel. You can send and receive message only If Viber is connected. |
| viber.name | string | Name of the Viber Bot account. |
| viber.category | string | Viber Bot account category. |
| viber.uri | string | String to be used for building Viber links. |
| viber.access_token | string | Viber Bot account access token. |
