zoho cliq create remind api

zoho cliq create remind api

Hi there, I've been developing some bot in cliq bots and tools using deluge, so I was using the remind api to remind a chat in group,

code i used: 
remindchat = invokeurl
[
type :POST
parameters:params
headers:header_data
connection:"cliqconnection"
];

parameters: 
params.put("message_id",msgId);
params.put("chat_id",trimchatId);
params.put("time",remindTime.toString());

headers: 
header_data.put("Content-Type","application/json");


but the response i got is this: 
{"code":"input_json_invalid","message":"Value passed for the '$1' key should be an $2."}

can you please help me to understand what i was doing wrong, or what is wrong with this api.