| webhook | Webhook URL.
You can get this URL from Zoho Cliq with these steps:
- Right click the channel you want the message to be sent
- Click 'Channel Info'
- Select 'Connectors' from right top side
- Copy API Endpoint value
Example: 'https://cliq.zoho.com/api/v2/channelsbyname/obiwankenobichannel/message' | yes | — |
| token | Zoho Cliq zapikey or user webhook token.
You can get API key from Zoho Cliq with these steps:
- Click the profile image on the top right
- Click 'Bots & Tools'
- From the left panel click 'Webhook Tokens' at the bottom
- Click 'Generate new token' button at the top right
- Click 'Copy' text under the 'Active Webhook Tokens'
Example: '1001.622cff111b2f13a55c30ee7128ce5349.f833f7134e7533ee9d31d3172f40c5a5' | yes | — |
| sender-name | Custom sender name for the message.
If left blank the message will be sent by YOU.
Example: 'Kenobi Bot' | no | — |
| sender-image | Custom sender profile picture.
If left blank image is plain white.
Example: 'https://i.pinimg.com/280x280_RS/00/3e/6a/003e6a4fd33523893050086b6bbb0bf0.jpg' | no | — |
| thumbnail | Thumbnail picture.
Example: 'https://i.kym-cdn.com/entries/icons/original/000/029/079/hellothere.jpg' | no | — |
| title | Title of the message.
Example: 'Hello There' | no | — |
| text | Body of the message.
Example: 'General Kenobi...' | no | — |
| theme | Message theme style.
basic, poll, modern-inline, prompt
Defaults to 'modern-inline'
Example: 'modern-inline' | no | modern-inline |
| slide-type | Type of custom slide.
label, list, table, images
Example: 'label' | no | — |
| slide-title | Title of custom slide.
Example: 'Kenobi Details' | no | — |
| slide-data | Data for the custom slide (Array).
Example for label type:
[
{
"Full Name": "Obi-wan Kenobi"
},
{
"Teacher": "Qui-Gon Jinn"
},
{
"Favorite Student": "Anakin Skywalker"
},
{
"It is over Anakin": "I have the high ground."
}
] | no | — |
| custom-payload | Custom JSON payload to send. If this is set, ignores everything else and just sends this as JSON body.
You can create custom messages from this URL: 'https://cliq.zoho.com/messagebuilder'
Example:
{
"text": "Your Message",
"bot": {
"name": "Your Bot Name"
},
"card": {
"title": "Card Title",
"theme": "modern-inline"
},
"slides": [
{
"type": "label",
"title": "Title for your Label",
"data": [
{
"Key 0": "Value 0"
},
{
"Key 1": "Value 1"
}
]
}
]
} | no | — |