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: rbm . |
name | string | Name of the channel. |
mode | string | Mode of the channel.production - Send Message requests will be accepted and sent through RBM.test - Send Message requests will be accepted but won't be processed any further. This avoids the cost of sending the message through RBM. |
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. |
rbm | object | Contains information specific to an RBM agent. |
rbm.agent_name | string | Name of the agent as it is shown to end users. |
rbm.agent_state | string | Agent state describes whether your agent is registered in RBM and whether it is launched. |
region | string | Agent region. |