Deluge Task - Add Channel Members by Email ID

Deluge Task - Add Channel Members by Email ID

Hello,

I would like to add specific user to Cliq Channels, below is the Rest API documentation

POST

Payload :


========================================================
And my script is as below:

params = Map();
payload = params.put("scott.fisher@zylker.com") 
response = invokeurl
[
type :PUT
parameters:params1
connection:"cliq"
];

info response;

And I got below error:

{
  • "code": "input_json_invalid",
  • "message": "Value passed for the '$1' key should be an $2."
}


May you help advise what might go wrong?

Thanks!