Calendar links

Saved events with their page, .ics file and numbers.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/calendar-events

Lists the saved calendar events.

ListOn success: 200.Permission: Read.

Response

25 fields
FieldTypeAlways there
[].activebooleanYes
[].adds30integerYes
[].allDaybooleanYes
[].createdAtstring (date-time)Yes
[].createdBystring (uuid)Yes
[].descriptionstringYes
[].endDatestring (date)Yes
[].endTimestringYes
[].icsUrlstring (uri)Yes
[].idstring (uuid)Yes
[].locationstringYes
[].pageUrlstring (uri)Yes
[].publicIdstringYes
[].reminderMinutesintegerYes
[].repeatnull in the examplesYes
[].startDatestring (date)Yes
[].startTimestringYes
[].templateIdstring | nullYes
[].themeobjectYes
[].timezonestringYes
[].titlestringYes
[].updatedAtstring (date-time)Yes
[].updatedBystring (uuid)Yes
[].urlnull in the examplesYes
[].views30integerYes
Example
curl -X GET "https://api.firmado.app/v1/calendar-events" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

[
  {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "publicId": "…",
    "title": "…",
    "description": "…",
    "location": "…",
    "url": null,
    "timezone": "…",
    "allDay": true,
    "startDate": "2026-11-21",
    "startTime": "…",
    "endDate": "2026-11-21",
    "endTime": "…",
    "repeat": null,
    "reminderMinutes": 1,
    "templateId": "…",
    "theme": {},
    "active": true,
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "pageUrl": "https://example.com",
    "icsUrl": "https://example.com",
    "views30": 1,
    "adds30": 1
  }
]

POST/v1/calendar-events

Saves a calendar event, with its page and .ics file.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
titlestringYesmin length 1 · max length 200
descriptionstring | nullNo
locationstring | nullNo
urlstring (uri) | nullNo
timezonestringYesmax length 64
allDaybooleanNodefault false
startDatestringYespattern ^\d{4}-\d{2}-\d{2}$
startTimestring | nullNo
endDatestringYespattern ^\d{4}-\d{2}-\d{2}$
endTimestring | nullNo
repeatobject | nullNo
repeat.freq"daily" | "weekly" | "monthly" | "yearly"Yes
repeat.intervalintegerNomin 1 · max 99 · default 1
repeat.countinteger | nullNodefault null
repeat.untilstring | nullNodefault null
reminderMinutesinteger | nullNo
templateId"classic" | "modern" | "minimal" | "bold" | nullNo
themeobjectNo
theme.primaryColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"No
activebooleanNodefault true

Response

25 fields
FieldTypeAlways there
activebooleanYes
adds30integerYes
allDaybooleanYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionstringYes
endDatestring (date)Yes
endTimestringYes
icsUrlstring (uri)Yes
idstring (uuid)Yes
locationstringYes
pageUrlstring (uri)Yes
publicIdstringYes
reminderMinutesintegerYes
repeatnull in the examplesYes
startDatestring (date)Yes
startTimestringYes
templateIdnull in the examplesYes
themeobjectYes
timezonestringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlnull in the examplesYes
views30integerYes
Example
curl -X POST "https://api.firmado.app/v1/calendar-events" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "timezone": "…",
  "startDate": "…",
  "endDate": "…"
}'

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "title": "…",
  "description": "…",
  "location": "…",
  "url": null,
  "timezone": "…",
  "allDay": true,
  "startDate": "2026-11-21",
  "startTime": "…",
  "endDate": "2026-11-21",
  "endTime": "…",
  "repeat": null,
  "reminderMinutes": 1,
  "templateId": null,
  "theme": {},
  "active": true,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "pageUrl": "https://example.com",
  "icsUrl": "https://example.com",
  "views30": 1,
  "adds30": 1
}

DELETE/v1/calendar-events/{id}

Deletes a calendar event with its page and file.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/calendar-events/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/calendar-events/{id}

Returns a saved calendar event.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X GET "https://api.firmado.app/v1/calendar-events/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/calendar-events/{id}

Changes a calendar event; its page and file keep their address.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
titlestringYesmin length 1 · max length 200
descriptionstring | nullNo
locationstring | nullNo
urlstring (uri) | nullNo
timezonestringYesmax length 64
allDaybooleanNodefault false
startDatestringYespattern ^\d{4}-\d{2}-\d{2}$
startTimestring | nullNo
endDatestringYespattern ^\d{4}-\d{2}-\d{2}$
endTimestring | nullNo
repeatobject | nullNo
repeat.freq"daily" | "weekly" | "monthly" | "yearly"Yes
repeat.intervalintegerNomin 1 · max 99 · default 1
repeat.countinteger | nullNodefault null
repeat.untilstring | nullNodefault null
reminderMinutesinteger | nullNo
templateId"classic" | "modern" | "minimal" | "bold" | nullNo
themeobjectNo
theme.primaryColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"No
activebooleanNodefault true

Response

25 fields
FieldTypeAlways there
activebooleanYes
adds30integerYes
allDaybooleanYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionstringYes
endDatestring (date)Yes
endTimestringYes
icsUrlstring (uri)Yes
idstring (uuid)Yes
locationstringYes
pageUrlstring (uri)Yes
publicIdstringYes
reminderMinutesintegerYes
repeatnull in the examplesYes
startDatestring (date)Yes
startTimestringYes
templateIdstring | nullYes
themeobjectYes
timezonestringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlnull in the examplesYes
views30integerYes
Example
curl -X PATCH "https://api.firmado.app/v1/calendar-events/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "timezone": "…",
  "startDate": "…",
  "endDate": "…"
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "title": "…",
  "description": "…",
  "location": "…",
  "url": null,
  "timezone": "…",
  "allDay": true,
  "startDate": "2026-11-21",
  "startTime": "…",
  "endDate": "2026-11-21",
  "endTime": "…",
  "repeat": null,
  "reminderMinutes": 1,
  "templateId": "…",
  "theme": {},
  "active": true,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "pageUrl": "https://example.com",
  "icsUrl": "https://example.com",
  "views30": 1,
  "adds30": 1
}

GET/v1/calendar-events/{id}/stats

Views of an event’s page and adds per calendar, per day.

Read/{id}/statsOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Query parameters

FieldTypeRequiredNotes
daysintegerNomin 7 · max 365 · default 30

Response

15 fields
FieldTypeAlways there
byCalendarobjectYes
byCalendar.googleintegerYes
byCalendar.icsintegerYes
byCalendar.office365integerYes
byCalendar.outlookintegerYes
byCalendar.yahoointegerYes
daysintegerYes
seriesarray of objectYes
series[].addsintegerYes
series[].daystring (date)Yes
series[].viewsintegerYes
totalsobjectYes
totals.addRateintegerYes
totals.addsintegerYes
totals.viewsintegerYes
Example
curl -X GET "https://api.firmado.app/v1/calendar-events/{id}/stats" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "days": 1,
  "totals": {
    "views": 1,
    "adds": 1,
    "addRate": 1
  },
  "series": [
    {
      "day": "2026-11-21",
      "views": 1,
      "adds": 1
    }
  ],
  "byCalendar": {
    "google": 1,
    "outlook": 1,
    "office365": 1,
    "yahoo": 1,
    "ics": 1
  }
}

GET/v1/calendar-events/look

The organization’s name and theme, for previewing an event page.

Read/lookOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
templateId"classic" | "modern" | "minimal" | "bold"No

Response

12 fields
FieldTypeAlways there
organizationobjectYes
organization.languagestringYes
organization.namestringYes
templateIdstringYes
themeobjectYes
theme.accentColorstringYes
theme.backgroundColorstringYes
theme.bodyFontstringYes
theme.cornerRadiusstringYes
theme.headingFontstringYes
theme.primaryColorstringYes
theme.textColorstringYes
Example
curl -X GET "https://api.firmado.app/v1/calendar-events/look" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "organization": {
    "name": "Ana Lima",
    "language": "…"
  },
  "templateId": "…",
  "theme": {
    "primaryColor": "…",
    "accentColor": "…",
    "backgroundColor": "…",
    "textColor": "…",
    "headingFont": "…",
    "bodyFont": "…",
    "cornerRadius": "…"
  }
}

Webhook events

Changes of this feature that webhooks can send.

  • calendar_event.createdCreate
  • calendar_event.updatedUpdate
  • calendar_event.deletedDelete