Events

Events AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

An event is any occurrence that is scheduled for a specific time. This can range from a team meeting to a company-wide conference. You can create events, invite others, set reminders, and track invitees from your Cliq Home. Cliq Events syncs with your calendar to keep you updated at all times. Using Cliq event APIs, you can create, retrieve, update, manage, and delete events.

Download Events OpenAPI Document
End Points

Get Calendars AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to retrieve a comprehensive list of all calendars associated with a user.

Threshold limit: 10 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL

Query Parameters

include_hidden_calendars
boolean
Choose whether to display the hidden calendars or not.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/calendars" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/calendars") .get() .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://cliq.zoho.com/api/v2/calendars', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v2/calendars", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/calendars", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/calendars"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Get, RequestUri = new Uri("https://cliq.zoho.com/api/v2/calendars"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/calendars" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "https://cliq.zoho.com/api/v2/calendars"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.send(data);
curl --request GET \ --url https://cliq.zoho.com/api/v2/calendars \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "reminders": [ { "minutes": "-15", "action": "email" } ], "color": "#8cbf40", "timezone": "Asia/Calcutta", "textcolor": "#FFFFFF", "description": "", "privilege": "owner", "type": 0, "calemptiedtime": "2023-03-16T05:27:33Z", "uid": "1683be4ab6c74d2ab02e6450a0b34d4a", "canSendMail": true, "modifiedtime": 1663320706496, "alarm": [ { "action": "email", "trigger": "-900000" } ], "isdefault": true, "calendar_modifiedtime": 1663320706496, "id": "310935000000002003", "order": 0, "lastmodifiedtime": "2023-03-16T09:29:45Z", "owner": "70421274", "visibility": true, "include_infreebusy": true, "createdtime": 1663320706496, "calendar_createdtime": 1663320706496, "name": "User", "ctag": 1678958985948, "category": "own", "status": true, "caltype": "own" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Create an Event AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to create an event.

Threshold limit: 30 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Arguments

title
string
(Required)
Title of the event to be added.
Maximum length: 255 characters
start_time
long
(Required)
Start time of the event.
Format: Epoch milliseconds
end_time
long
(Required)
End time of the event.
Format: Epoch milliseconds
timezone
string
Timezone in which the event is scheduled, in IANA format. For example, Asia/Kolkata.
calendar_id
string
Unique identifier of the calendar where the event is created. Defaults to user's calendar if not provided.
location
string
Location where the event will take place.
Maximum length: 255 characters
description
string
Description of the event providing additional details.
Maximum length: 12000 characters
attendees
array
List of attendee email IDs for the event.
type
string
Specifies the type of event to be scheduled.
Allowed values
  • normal_event: Face-to-face meeting.
  • event_management: Face-to-face meeting with Zia's assistance (reminders, group chat).
  • audio_conference: Audio conference event.
  • video_conference: Video conference event.
reminders
array
Reminders to send before the event starts. Each reminder sets how long before the start time it is sent (minutes) and how it is sent (type).
Maximum items: 4
Show Sub-Attributes arrow
type
string
Type of reminder to trigger.
Allowed values
  • taz: Sends the reminder as a Cliq notification.
  • email: Sends the reminder as an email.
  • mail_notification: Sends the reminder as a mail notification.
minutes
integer
(Required)
Number of minutes before the event start time at which the reminder is sent.
Allowed values
  • 0: At the start time of the event.
  • 5: 5 minutes before the event starts.
  • 10: 10 minutes before the event starts.
  • 15: 15 minutes before the event starts.
  • 20: 20 minutes before the event starts.
  • 25: 25 minutes before the event starts.
  • 30: 30 minutes before the event starts.
  • 45: 45 minutes before the event starts.
  • 60: 1 hour before the event starts.
  • 120: 2 hours before the event starts.
  • 240: 4 hours before the event starts.
  • 360: 6 hours before the event starts.
  • 480: 8 hours before the event starts.
  • 720: 12 hours before the event starts.
  • 1440: 1 day before the event starts.
  • 2880: 2 days before the event starts.
  • 4320: 3 days before the event starts.
  • 5760: 4 days before the event starts.
  • 7200: 5 days before the event starts.
  • 8640: 6 days before the event starts.
  • 10080: 1 week before the event starts.
  • 11520: 8 days before the event starts.
  • 12960: 9 days before the event starts.
  • 14400: 10 days before the event starts.
  • 15840: 11 days before the event starts.
  • 17280: 12 days before the event starts.
  • 18720: 13 days before the event starts.
  • 20160: 2 weeks before the event starts.
  • 21600: 15 days before the event starts.
attachment_ids
array
List of unique file IDs for attachments to be added to the event.
attendee_zuids
array
Zoho user IDs (ZUIDs) of the attendees to invite to the event.
Maximum items: 5000
group_attendees
array
IDs of the groups to invite to the event.
Maximum items: 1000
chat_id
string
Unique ID of the chat associated with the event.
recurrence_rule
string
Recurrence rule that defines how the event repeats.
Maximum length: 500 characters
room
object
Details of the resource to associate with the event as its location.
Show Sub-Attributes arrow
id
integer
Unique ID of the resource to associate with the event as its location.
is_deleted
boolean
Indicates whether the resource is deleted.
configurations
object
Conference settings for the event.
Show Sub-Attributes arrow
screen_share
array
User types that can share their screen in the meeting.
Maximum items: 3
grid_view
array
User types that can use the grid view in the meeting.
Maximum items: 3
presentation
array
User types that can present in the meeting.
Maximum items: 3
recording_access
string
Specifies who can access the meeting recording.
Allowed values
  • host: The host of the meeting.
  • cohosts: The co-hosts of the meeting.
  • attendees: The attendees of the meeting.
  • invitees: The invitees of the meeting.
resources_access
string
Specifies who can access the resources shared in the meeting.
Allowed values
  • host: The host of the meeting.
  • cohosts: The co-hosts of the meeting.
  • attendees: The attendees of the meeting.
  • invitees: The invitees of the meeting.
transcript_summary_action_items
string
Specifies whether the transcript, summary and action items are generated for the meeting.
Allowed values
  • enabled: Generates the transcript, summary and action items.
  • disabled: Does not generate them.
cohost_lock_meeting
string
Specifies whether co-hosts can lock and unlock the meeting.
Allowed values
  • enabled: Co-hosts can lock and unlock the meeting.
  • disabled: Co-hosts cannot lock or unlock the meeting.
theme_id
string
Unique ID of the theme applied to the meeting.
Allowed values
  • cliq_standard_theme
  • builtin_theme_one
  • builtin_theme_two
  • builtin_theme_three
  • builtin_theme_four
waiting_room
string
Specifies whether the waiting room is enabled for the meeting.
Allowed values
  • enabled: The waiting room is enabled.
  • disabled: The waiting room is disabled.
chat_access
string
Specifies whether guest users can access the meeting chat.
Allowed values
  • enabled: Guest users can access the chat.
  • disabled: Guest users cannot access the chat.
chat_type
string
Specifies the type of chat used for the meeting.
Allowed values
  • thread: The meeting chat is created as a thread.
  • channel: The meeting chat is created as a channel.
  • host_choice: The host chooses the chat type.
edit_whiteboard
string
Specifies whether participants can edit the whiteboard.
Allowed values
  • enabled: Participants can edit the whiteboard.
  • disabled: Participants cannot edit the whiteboard.
special_reactions
string
Specifies whether special reactions are enabled for the meeting.
Allowed values
  • enabled: Special reactions are enabled.
  • disabled: Special reactions are disabled.
reaction_view
string
Specifies which reactions are displayed in the meeting.
Allowed values
  • basic: Shows only the basic set of reactions.
  • all: Shows all reactions.
recording_status
boolean
Specifies the recording status of a scheduled conference.
interpreter_id
string
Unique ID of the user who acts as the sign language interpreter for the meeting.
cohost_ids
array
IDs of the users who are co-hosts of the meeting.
Maximum items: 100
speakers
array
IDs of the users who are speakers in the meeting.
Maximum items: 100
url
string
URL associated with the event.
Maximum length: 1000 characters
Supported schemes: http, https, ftp, ftps, tel, sms, sip, sips, mailto
access_level
string
Specifies whether the event is open or closed.
Allowed values
  • open: The event is open to join.
  • closed: The event is closed, so only invited participants can join.
attendee_import_ids
array
IDs of the attendee imports whose attendees are added to the event.
Maximum items: 4

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events") .post(body) .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/api/v2/events', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v2/events", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events"); var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("POST", "https://cliq.zoho.com/api/v2/events"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request POST \ --url https://cliq.zoho.com/api/v2/events \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "title": "Zylker Marketing Forum", "start_time": 1738828560000, "end_time": 1738832160000, "timezone": "Asia/Kolkata", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ", "location": "Conference Room 21", "description": "Join the Zylker Marketing Forum to discuss trends.", "attendees": [ "ryan.west@zylker.com", "olivia.palmer@zylker.com" ], "type": "normal_event", "reminders": [ { "type": "email", "minutes": 30 } ], "attachment_ids": [ 284148000000107000 ], "attendee_zuids": [ "89412567" ], "group_attendees": [ "string" ], "chat_id": "string", "recurrence_rule": "string", "room": { "id": 0, "is_deleted": true }, "configurations": { "screen_share": [ "cohost" ], "grid_view": [ "cohost" ], "presentation": [ "cohost" ], "recording_access": "host", "resources_access": "host", "transcript_summary_action_items": "enabled", "cohost_lock_meeting": "enabled", "theme_id": "cliq_standard_theme", "waiting_room": "enabled", "chat_access": "enabled", "chat_type": "thread", "edit_whiteboard": "enabled", "special_reactions": "enabled", "reaction_view": "basic", "recording_status": true, "interpreter_id": "string", "cohost_ids": [ "string" ], "speakers": [ "string" ] }, "url": "string", "access_level": "open", "attendee_import_ids": [ "string" ] }

Response Example

{ "data": [ { "location": "Conference Room 21", "entity_id": "47f78d99-049f-4e313-08ef-6b588976b4c4", "is_big_chat_event": false, "type": "video_conference", "isallday": false, "creator": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "entity_type": 8, "end_time": 1738942200000, "attendees": [ { "status": "accepted", "name": "Ryan West", "email": "ryan.west@zylker.com", "id": "89472161" } ], "edit_tag": "1738835150914", "start_time": 1738938600000, "id": "427812df9891223aca537f0e8e7ad2a7c@zoho.com", "meeting_link": "https://cliq.zoho.com/meeting/1BK4IK987W6W", "timezone": "Asia/Kolkata", "description": "Join the Zylker Marketing Forum to discuss trends.", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ==", "organizer": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "title": "Zylker Marketing Forum", "role": "organizer" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Get Events AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to get the list of all your events scheduled within the next 31 days.

Threshold limit: 30 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL,ZohoCalendar.search.READ

Query Parameters

from
integer
The start of the time interval from when you want to retrieve the events. From time should be passed in milliseconds.
to
integer
The end of the time interval from when you want to retrieve the events. To time should be passed in milliseconds.
include_disabled_calendar
boolean
Choose whether to display events from disabled calendars or not.
ignore_declined_events
boolean
Choose whether to ignore declined events or not.
calendar_id
string
Unique ID of the calendar whose events are returned.
calendar_type
string
Returns events only from calendars of this type.
Allowed values
  • own: Calendars that you own.
  • group: Group calendars.
  • app: Calendars created by applications.
  • shared: Calendars shared with you.
  • subscribed: Calendars that you subscribed to.
include_hidden_calendar
boolean
Specifies whether to include the events of hidden calendars. If true, events present in hidden calendars are also returned.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events") .get() .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://cliq.zoho.com/api/v2/events', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v2/events", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Get, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "https://cliq.zoho.com/api/v2/events"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.send(data);
curl --request GET \ --url https://cliq.zoho.com/api/v2/events \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "location": "Conference Room 21", "entity_id": "47f78d99-049f-4e313-08ef-6b588976b4c4", "is_big_chat_event": false, "type": "video_conference", "isallday": false, "creator": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "entity_type": 8, "end_time": 1738942200000, "attendees": [ { "status": "accepted", "name": "Ryan West", "email": "ryan.west@zylker.com", "id": "89472161" } ], "edit_tag": "1738835150914", "start_time": 1738938600000, "id": "427812df9891223aca537f0e8e7ad2a7c@zoho.com", "meeting_link": "https://cliq.zoho.com/meeting/1BK4IK987W6W", "timezone": "Asia/Kolkata", "description": "Join the Zylker Marketing Forum to discuss trends.", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ==", "organizer": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "title": "Zylker Marketing Forum", "role": "organizer" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Edit an Event AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to edit an event.

Threshold limit: 30 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Arguments

title
string
Title of the event to be edited.
Maximum length: 255 characters
start_time
long
Start time of the event in epoch milliseconds since 1970-01-01 00:00:00 UTC.
end_time
long
End time of the event in epoch milliseconds since 1970-01-01 00:00:00 UTC.
timezone
string
Timezone in which the event is scheduled. (IANA format, e.g., Asia/Kolkata)
calendar_id
string
(Required)
Unique identifier for the calendar in which the event is to be edited.
location
string
Location where the event will take place.
Maximum length: 255 characters
description
string
Description of the event providing additional details.
Maximum length: 12000 characters
type
string
Specifies the type of event that needs to be edited.
Allowed values
  • normal_event: Face-to-face meeting.
  • event_management: Meeting with Zia's assistance (reminders, group chat).
  • audio_conference: Audio conference event.
  • video_conference: Video conference event.
attendees
array
List of attendees with their email and status.
Show Sub-Attributes arrow
email
string
(Required)
Email address of the attendee.
status
string
Current attendance status of the attendee.
Allowed values
  • accepted: The attendee has confirmed participation.
  • tentative: The attendee may attend but has not confirmed.
  • declined: The attendee has declined the invitation.
  • yet_to_respond: The attendee has not yet responded to the invitation.
deleted
boolean
Specifies whether to remove the attendee from the event. Pass true to remove the attendee.
reminders
array
Reminders to send before the event starts. Each reminder sets how long before the start time it is sent (minutes) and how it is sent (type).
Maximum items: 4
Show Sub-Attributes arrow
type
string
Reminder type.
Allowed values
  • taz: Sends the reminder as a Cliq notification.
  • email: Sends the reminder as an email.
  • mail_notification: Sends the reminder as a mail notification.
minutes
integer
(Required)
Number of minutes before the event start time at which the reminder is sent.
Allowed values
  • 0: At the start time of the event.
  • 5: 5 minutes before the event starts.
  • 10: 10 minutes before the event starts.
  • 15: 15 minutes before the event starts.
  • 20: 20 minutes before the event starts.
  • 25: 25 minutes before the event starts.
  • 30: 30 minutes before the event starts.
  • 45: 45 minutes before the event starts.
  • 60: 1 hour before the event starts.
  • 120: 2 hours before the event starts.
  • 240: 4 hours before the event starts.
  • 360: 6 hours before the event starts.
  • 480: 8 hours before the event starts.
  • 720: 12 hours before the event starts.
  • 1440: 1 day before the event starts.
  • 2880: 2 days before the event starts.
  • 4320: 3 days before the event starts.
  • 5760: 4 days before the event starts.
  • 7200: 5 days before the event starts.
  • 8640: 6 days before the event starts.
  • 10080: 1 week before the event starts.
  • 11520: 8 days before the event starts.
  • 12960: 9 days before the event starts.
  • 14400: 10 days before the event starts.
  • 15840: 11 days before the event starts.
  • 17280: 12 days before the event starts.
  • 18720: 13 days before the event starts.
  • 20160: 2 weeks before the event starts.
  • 21600: 15 days before the event starts.
attendee_zuids
array
Attendees, identified by their Zoho user IDs (ZUIDs), to add to the event or update.
Maximum items: 5000
Show Sub-Attributes arrow
zuid
string
(Required)
ZUID of the attendee.
status
string
Attendance status of the attendee.
Allowed values
  • accepted: The attendee has confirmed participation.
  • tentative: The attendee may attend but has not confirmed.
  • declined: The attendee has declined the invitation.
  • yet_to_respond: The attendee has not yet responded to the invitation.
deleted
boolean
Specifies whether to remove the attendee from the event. Pass true to remove the attendee.
cliq_entity_id
string
Unique ID of the Cliq entity associated with the event.
Maximum length: 50 characters
recurrence_edit_type
string
Specifies which occurrences of a recurring event the edit applies to.
Allowed values
  • all: Applies the edit to all occurrences.
  • only: Applies the edit to the selected occurrence only.
  • following: Applies the edit to the selected occurrence and the occurrences that follow it.
  • following_delete: Applies the delete to the selected occurrence and the occurrences that follow it.
recurrence_id
string
Identifier of the occurrence of a recurring event to edit.
Maximum length: 500 characters
Format: yyyyMMdd or yyyyMMdd'T'HHmmss'Z' (UTC)
attachments
array
Attachments to add to the event or remove from it.
Maximum items: 10
Show Sub-Attributes arrow
id
integer
(Required)
Unique ID of the attachment.
deleted
boolean
Specifies whether to remove the attachment from the event. Pass true to remove it.
group_attendees
array
IDs of the groups to invite to the event.
Maximum items: 1000
chat_id
string
Unique ID of the chat associated with the event.
recurrence_rule
string
Recurrence rule that defines how the event repeats.
Maximum length: 500 characters
room
object
Details of the resource to associate with the event as its location.
Show Sub-Attributes arrow
id
integer
Unique ID of the resource to associate with the event as its location.
is_deleted
boolean
Indicates whether the resource is deleted.
configurations
object
Conference settings for the event.
Show Sub-Attributes arrow
screen_share
array
User types that can share their screen in the meeting.
Maximum items: 3
grid_view
array
User types that can use the grid view in the meeting.
Maximum items: 3
presentation
array
User types that can present in the meeting.
Maximum items: 3
recording_access
string
Specifies who can access the meeting recording.
Allowed values
  • host: The host of the meeting.
  • cohosts: The co-hosts of the meeting.
  • attendees: The attendees of the meeting.
  • invitees: The invitees of the meeting.
resources_access
string
Specifies who can access the resources shared in the meeting.
Allowed values
  • host: The host of the meeting.
  • cohosts: The co-hosts of the meeting.
  • attendees: The attendees of the meeting.
  • invitees: The invitees of the meeting.
transcript_summary_action_items
string
Specifies whether the transcript, summary and action items are generated for the meeting.
Allowed values
  • enabled: Generates the transcript, summary and action items.
  • disabled: Does not generate them.
cohost_lock_meeting
string
Specifies whether co-hosts can lock and unlock the meeting.
Allowed values
  • enabled: Co-hosts can lock and unlock the meeting.
  • disabled: Co-hosts cannot lock or unlock the meeting.
theme_id
string
Unique ID of the theme applied to the meeting.
Allowed values
  • cliq_standard_theme
  • builtin_theme_one
  • builtin_theme_two
  • builtin_theme_three
  • builtin_theme_four
waiting_room
string
Specifies whether the waiting room is enabled for the meeting.
Allowed values
  • enabled: The waiting room is enabled.
  • disabled: The waiting room is disabled.
chat_access
string
Specifies whether guest users can access the meeting chat.
Allowed values
  • enabled: Guest users can access the chat.
  • disabled: Guest users cannot access the chat.
chat_type
string
Specifies the type of chat used for the meeting.
Allowed values
  • thread: The meeting chat is created as a thread.
  • channel: The meeting chat is created as a channel.
  • host_choice: The host chooses the chat type.
edit_whiteboard
string
Specifies whether participants can edit the whiteboard.
Allowed values
  • enabled: Participants can edit the whiteboard.
  • disabled: Participants cannot edit the whiteboard.
special_reactions
string
Specifies whether special reactions are enabled for the meeting.
Allowed values
  • enabled: Special reactions are enabled.
  • disabled: Special reactions are disabled.
reaction_view
string
Specifies which reactions are displayed in the meeting.
Allowed values
  • basic: Shows only the basic set of reactions.
  • all: Shows all reactions.
recording_status
boolean
Specifies the recording status of a scheduled conference.
interpreter_id
string
Unique ID of the user who acts as the sign language interpreter for the meeting.
cohost_ids
array
IDs of the users who are co-hosts of the meeting.
Maximum items: 100
speakers
array
IDs of the users who are speakers in the meeting.
Maximum items: 100
url
string
URL associated with the event.
Maximum length: 1000 characters
Supported schemes: http, https, ftp, ftps, tel, sms, sip, sips, mailto
access_level
string
Specifies whether the event is open or closed.
Allowed values
  • open: The event is open to join.
  • closed: The event is closed, so only invited participants can join.
attendee_import_ids
array
IDs of the attendee imports whose attendees are added to the event.
Maximum items: 4

Path Parameters

EVENT_ID
string
(Required)
To edit the details of a specific event using its unique identifier. To learn how to retrieve this ID, see EVENT_ID in the Glossary page.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events/EVENT_ID" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events/EVENT_ID") .put(body) .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/api/v2/events/EVENT_ID', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/api/v2/events/EVENT_ID", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events/EVENT_ID", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events/EVENT_ID"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Put, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events/EVENT_ID"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events/EVENT_ID" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("PUT", "https://cliq.zoho.com/api/v2/events/EVENT_ID"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request PUT \ --url https://cliq.zoho.com/api/v2/events/EVENT_ID \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "title": "Zylker Marketing Forum", "start_time": 1738828560000, "end_time": 1738832160000, "timezone": "Asia/Kolkata", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ", "location": "Conference Room 21", "description": "Join the Zylker Marketing Forum to discuss marketing trends.", "type": "normal_event", "attendees": [ { "email": "ryan.west@zylker.com", "status": "accepted", "deleted": true } ], "reminders": [ { "type": "email", "minutes": 30 } ], "attendee_zuids": [ { "zuid": "string", "status": "accepted", "deleted": true } ], "cliq_entity_id": "string", "recurrence_edit_type": "all", "recurrence_id": "20250206T071600Z", "attachments": [ { "id": 0, "deleted": true } ], "group_attendees": [ "string" ], "chat_id": "string", "recurrence_rule": "string", "room": { "id": 0, "is_deleted": true }, "configurations": { "screen_share": [ "cohost" ], "grid_view": [ "cohost" ], "presentation": [ "cohost" ], "recording_access": "host", "resources_access": "host", "transcript_summary_action_items": "enabled", "cohost_lock_meeting": "enabled", "theme_id": "cliq_standard_theme", "waiting_room": "enabled", "chat_access": "enabled", "chat_type": "thread", "edit_whiteboard": "enabled", "special_reactions": "enabled", "reaction_view": "basic", "recording_status": true, "interpreter_id": "string", "cohost_ids": [ "string" ], "speakers": [ "string" ] }, "url": "string", "access_level": "open", "attendee_import_ids": [ "string" ] }

Response Example

{ "data": [ { "location": "Conference Room 21", "entity_id": "47f78d99-049f-4e313-08ef-6b588976b4c4", "is_big_chat_event": false, "type": "video_conference", "isallday": false, "creator": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "entity_type": 8, "end_time": 1738942200000, "attendees": [ { "status": "accepted", "name": "Ryan West", "email": "ryan.west@zylker.com", "id": "89472161" } ], "edit_tag": "1738835150914", "start_time": 1738938600000, "id": "427812df9891223aca537f0e8e7ad2a7c@zoho.com", "meeting_link": "https://cliq.zoho.com/meeting/1BK4IK987W6W", "timezone": "Asia/Kolkata", "description": "Join the Zylker Marketing Forum to discuss trends.", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ==", "organizer": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "title": "Zylker Marketing Forum", "role": "organizer" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Get Event Details AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to get the event details of a specific event from the user's calendar.

Threshold limit: 30 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Path Parameters

EVENT_ID
string
(Required)
To retrieve the details of a specific event using its unique identifier. To learn how to retrieve this ID, see EVENT_ID in the Glossary page.

Query Parameters

calendar_id
string
To retrieve the details of an event from a specific calendar using its calendar UID (Calendar unique identifier).
recurrence_id
string
To retrieve the details of a specific occurrence of a recurring event.
Maximum length: 500 characters
organizer_zuid
string
Zoho user ID (ZUID) of the organizer of the event.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events/EVENT_ID" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events/EVENT_ID") .get() .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://cliq.zoho.com/api/v2/events/EVENT_ID', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v2/events/EVENT_ID", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events/EVENT_ID", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events/EVENT_ID"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Get, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events/EVENT_ID"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events/EVENT_ID" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "https://cliq.zoho.com/api/v2/events/EVENT_ID"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.send(data);
curl --request GET \ --url https://cliq.zoho.com/api/v2/events/EVENT_ID \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "location": "Conference Room 21", "entity_id": "47f78d99-049f-4e313-08ef-6b588976b4c4", "is_big_chat_event": false, "type": "video_conference", "isallday": false, "creator": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "entity_type": 8, "end_time": 1738942200000, "attendees": [ { "status": "accepted", "name": "Ryan West", "email": "ryan.west@zylker.com", "id": "89472161" } ], "edit_tag": "1738835150914", "start_time": 1738938600000, "id": "427812df9891223aca537f0e8e7ad2a7c@zoho.com", "meeting_link": "https://cliq.zoho.com/meeting/1BK4IK987W6W", "timezone": "Asia/Kolkata", "description": "Join the Zylker Marketing Forum to discuss trends.", "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ==", "organizer": { "name": "Scott Fisher", "email": "scott.fisher@zylker.com", "id": "9087651" }, "title": "Zylker Marketing Forum", "role": "organizer" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Delete an Event AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to delete an event.

Threshold limit: 30 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Arguments

calendar_id
string
(Required)
Unique identifier of the calendar containing the event.
edit_tag
integer
(Required)
Version identifier (etag) of the event to ensure concurrency control.

Path Parameters

EVENT_ID
string
(Required)
To specify the event to be deleted. To learn how to retrieve this ID, see EVENT_ID in the Glossary page.

Query Parameters

recurrence_id
string
Recurrence ID of the occurrence of the recurring event.
Maximum length: 500 characters
Format: yyyyMMdd or yyyyMMdd'T'HHmmss'Z' (UTC)
recurrence_edit_type
string
Specifies which occurrences of a recurring event are deleted.
Allowed values
  • only: Deletes only the occurrence given in recurrence_id.
  • following: Deletes the occurrence given in recurrence_id and all the following occurrences.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events/EVENT_ID" type: DELETE headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events/EVENT_ID") .delete(body) .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/api/v2/events/EVENT_ID', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("DELETE", "/api/v2/events/EVENT_ID", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events/EVENT_ID", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events/EVENT_ID"); var request = new RestRequest(Method.DELETE); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Delete, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events/EVENT_ID"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events/EVENT_ID" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("DELETE", url, payload) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("DELETE", "https://cliq.zoho.com/api/v2/events/EVENT_ID"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request DELETE \ --url https://cliq.zoho.com/api/v2/events/EVENT_ID \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "calendar_id": "c3NTAwMNDg4MTDAwMDAwOTMyY2NjMQ==", "edit_tag": 1738933200000 }

Response Example

{ "Response Code": "204 No response" }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Update an Event Status AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to update your status for an event (RSVP).

Threshold limit: 20 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Arguments

calendar_id
string
(Required)
Unique identifier of the calendar that contains the event.
Get it from the calendar_id field of the Get Event Details API response.
edit_tag
long
(Required)
Version identifier (etag) of the event.
Get it from the edit_tag field of the Get Event Details API response.
organizer_zuid
string
(Required)
Zoho user ID (ZUID) of the organizer of the event.
Get it from the organizer > id field of the Get Event Details API response.
recurrence_id
string
Recurrence ID of the occurrence of a recurring event to update the status for.
Maximum length: 500 characters
Format: yyyyMMdd or yyyyMMdd'T'HHmmss'Z' (UTC)

Path Parameters

EVENT_ID
string
(Required)
To specify the event to be updated. To learn how to retrieve this ID, see EVENT_ID in the Glossary page.
STATUS
string
(Required)
To update the attendance status for the event.
Allowed values
  • accepted: The attendee has confirmed participation.
  • tentative: The attendee may attend but has not confirmed.
  • declined: The attendee has declined the invitation.
  • yet_to_respond: The attendee has not yet responded to the invitation.
For more details, see STATUS in the Glossary page.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted") .put(body) .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/api/v2/events/EVENT_ID/statuses/accepted", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events/EVENT_ID/statuses/accepted", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Put, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("PUT", "https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request PUT \ --url https://cliq.zoho.com/api/v2/events/EVENT_ID/statuses/accepted \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "calendar_id": "NDg4MTc3NTAwMDAwMDAwOTAwM3wzMzMyY2NjMQ==", "edit_tag": 1738835150914, "organizer_zuid": "9087651", "recurrence_id": "20261105T093000Z" }

Response Example

{ "data": { "uid": "ef3d579687r42832934hc63d56@zoho.com", "etag": "2838850064766", "message": "Status Updated.", "attendees": [ { "zuid": "89412567", "status": "ACCEPTED", "email": "ryan.west@zylker.com", "isapi": true } ] } }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Upload Attachments to Event Calendar AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Use this API to upload an attachment in your calendar to attach it to events.

Threshold limit: 20 requests per min per user
Number of API calls allowed within a minute.

Lock period: 10 minutes
Wait time before consecutive API requests.


OAuth Scope : ZohoCliq.CalendarEvents.ALL,ZohoCalendar.calendar.ALL,ZohoCalendar.event.ALL

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://cliq.zoho.com/api/v2/events/attachments" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/api/v2/events/attachments") .post(null) .addHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://cliq.zoho.com/api/v2/events/attachments', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/api/v2/events/attachments", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "cliq.zoho.com", "port": null, "path": "/api/v2/events/attachments", "headers": { "Authorization": "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/api/v2/events/attachments"); var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://cliq.zoho.com/api/v2/events/attachments"), Headers = { { "Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/api/v2/events/attachments" req, _ := http.NewRequest("POST", url, nil) req.Header.Add("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("POST", "https://cliq.zoho.com/api/v2/events/attachments"); xhr.setRequestHeader("Authorization", "Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); xhr.send(data);
curl --request POST \ --url https://cliq.zoho.com/api/v2/events/attachments \ --header 'Authorization: Bearer 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "attachments": [ { "preview": true, "fileName": "Screenshot from 2022-11-23 12-36-52.png", "size": 298643, "contentType": "image/png", "fileId": "1669355207679000001" } ] }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The URL you've sent is wrong. It's possible that the resource you've requested has been moved to another URL." }
{ "message": "The requested resource does not support the HTTP method used. For example, requesting List of all customers API with PUT as the HTTP method." }
{ "message": "The response has been received but the requested response type is not supported by the browser." }
{ "message": "Too many requests within a certain time frame." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }