POST
datetime
ics_generate
1 creditGenerate an ICS calendar event from structured input
Endpoint
POST /api/v1/tools/datetime/ics_generate
Body Parameters
dtend
string
required
dtstart
string
required
summary
string
required
location
string
optional
default: ""
timezone
string
optional
default: "UTC"
attendees
array | null
optional
default: null
description
string
optional
default: ""
Example
input
Request
{
"dtend": "2024-03-15T09:30:00",
"dtstart": "2024-03-15T09:00:00",
"summary": "Team Standup",
"location": "Zoom",
"description": "Daily standup meeting"
}
output
Response
{
"ics": "BEGIN:VCALENDAR..."
}
Response Format
HTTP/1.1 200 OK
SUCCESS
{
"success": true,
"data": {
"ics": "BEGIN:VCALENDAR..."
},
"meta": {
"tool": "ics_generate",
"credits_consumed": 1
}
}
HTTP/1.1 422 Unprocessable Entity
ERROR
{
"success": false,
"data": null,
"error": {
"code": "validation_error",
"message": "The given data was invalid."
}
}
Sign in to try this tool directly from the docs.
Code Examples
Request Example
lightbulb
Developer Tip
Credits are deducted before execution. If the upstream tool fails, credits are automatically refunded to your account.