calendar
GET
https://hermeticor.com /v1/calendar/mine My own calendar entries
Parameters
fromstringqueryrequiredtostringqueryrequiredlimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/calendar/mine?from=<from>&to=<to>"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"title": "string",
"notes": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"allDay": true,
"campaignId": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem169[]requiredShow child parameters
idstringrequiredtitlestringrequirednotesstringrequiredstartsAtstringrequiredendsAtstringrequiredallDaybooleanrequiredcampaignIdstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/calendar/mine Add an entry to my calendar
Request body
application/json
titlestringrequirednotesstringstartsAtstringrequiredendsAtstringallDaybooleancampaignIdstring{
"title": "string",
"notes": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"allDay": true,
"campaignId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/calendar/mine" \
-H "Content-Type: application/json" \
-d '{"title":"string","notes":"string","startsAt":"2024-01-01T00:00:00Z","endsAt":"2024-01-01T00:00:00Z","allDay":true,"campaignId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"title": "string",
"notes": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"allDay": true,
"campaignId": "string"
}Schema
idstringrequiredtitlestringrequirednotesstringrequiredstartsAtstringrequiredendsAtstringrequiredallDaybooleanrequiredcampaignIdstringrequiredDELETE
https://hermeticor.com /v1/calendar/mine/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/calendar/mine/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/calendar/mine/{id} Parameters
idstringpathrequiredRequest body
application/json
titlestringnotesstringstartsAtstringendsAtstringallDaybooleancampaignIdstring{
"title": "string",
"notes": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"allDay": true,
"campaignId": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/calendar/mine/{id}" \
-H "Content-Type: application/json" \
-d '{"title":"string","notes":"string","startsAt":"2024-01-01T00:00:00Z","endsAt":"2024-01-01T00:00:00Z","allDay":true,"campaignId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated