calendar

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-calendar"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/bd2391e9-bd81-4608-b12b-c13301b2cc61/social-card.svg?v=3e7ae33eec8b" alt="calendar" width="600" height="315"></a>
GEThttps://hermeticor.com/v1/calendar/mine

My own calendar entries

Parameters

fromstringqueryrequired
tostringqueryrequired
limitintegerquery
Page size; omitted returns the whole list
cursorstringquery
Opaque: the nextCursor of the previous page

Code 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[]required
Show child parameters
idstringrequired
titlestringrequired
notesstringrequired
startsAtstringrequired
endsAtstringrequired
allDaybooleanrequired
campaignIdstringrequired
nextCursorstringrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · GET /v1/calendar/mine

POSThttps://hermeticor.com/v1/calendar/mine

Add an entry to my calendar

Request body

application/json
titlestringrequired
notesstring
startsAtstringrequired
endsAtstring
allDayboolean
campaignIdstring
{
  "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
idstringrequired
titlestringrequired
notesstringrequired
startsAtstringrequired
endsAtstringrequired
allDaybooleanrequired
campaignIdstringrequired
4XX Default Response

Same as 4XX · GET /v1/calendar/mine

5XX Default Response

Same as 4XX · GET /v1/calendar/mine

DELETEhttps://hermeticor.com/v1/calendar/mine/{id}

Parameters

idstringpathrequired

Code 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
okbooleanrequired
true
4XX Default Response

Same as 4XX · GET /v1/calendar/mine

5XX Default Response

Same as 4XX · GET /v1/calendar/mine

PATCHhttps://hermeticor.com/v1/calendar/mine/{id}

Parameters

idstringpathrequired

Request body

application/json
titlestring
notesstring
startsAtstring
endsAtstring
allDayboolean
campaignIdstring
{
  "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

200 Default Response

Same as 201 · POST /v1/calendar/mine

4XX Default Response

Same as 4XX · GET /v1/calendar/mine

5XX Default Response

Same as 4XX · GET /v1/calendar/mine

Updated