Aller au contenu
GET /v1/event

Build an .ics event + calendar links

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/ical-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/ical-api/v1/event" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ical-api/v1/event", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ical-api/v1/event");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/ical-api/v1/event",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//oanor//iCal API//EN\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nUID:[email protected]\r\nDTSTAMP:20260601T234048Z\r\nDTSTART:20260701T100000Z\r\nDTEND:20260701T110000Z\r\nSUMMARY:Team Meeting\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
        "event": {
            "end": "2026-07-01T11:00:00.000Z",
            "rrule": null,
            "start": "2026-07-01T10:00:00.000Z",
            "title": "Team Meeting",
            "all_day": false,
            "location": null,
            "description": null,
            "reminder_minutes": null
        },
        "links": {
            "yahoo": "https://calendar.yahoo.com/?v=60&title=Team%20Meeting&st=20260701T100000Z&dur=0100",
            "google": "https://calendar.google.com/calendar/render?action=TEMPLATE&text=Team%20Meeting&dates=20260701T100000Z/20260701T110000Z",
            "outlook": "https://outlook.live.com/calendar/0/deeplink/compose?subject=Team%20Meeting&startdt=2026-07-01T10%3A00%3A00.000Z&enddt=2026-07-01T11%3A00%3A00.000Z&path=/calendar/action/compose",
            "office365": "https://outlook.office.com/calendar/0/deeplink/compose?subject=Team%20Meeting&startdt=2026-07-01T10%3A00%3A00.000Z&enddt=2026-07-01T11%3A00%3A00.000Z&path=/calendar/action/compose"
        },
        "data_uri": "data:text/calendar;charset=utf-8;base64,QkVHSU46VkNBTEVOREFSDQpWRVJTSU9OOjIuMA0KUFJPRElEOi0vL29hbm9yLy9pQ2FsIEFQSS8vRU4NCkNBTFNDQUxFOkdSRUdPUklBTg0KTUVUSE9EOlBVQkxJU0gNCkJFR0lOOlZFVkVOVA0KVUlEOjFsb3U5bWYtMjAyNjA3MDFUMTAwMDAwWkBvYW5vci5kZXYNCkRUU1RBTVA6MjAyNjA2MDFUMjM0MDQ4Wg0KRFRTVEFSVDoyMDI2MDcwMVQxMDAwMDBaDQpEVEVORDoyMDI2MDcwMVQxMTAwMDBaDQpTVU1NQVJZOlRlYW0gTWVldGluZw0KRU5EOlZFVkVOVA0KRU5EOlZDQUxFTkRBUg0K"
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:48.186Z",
        "request_id": "9c91e43d-fa9c-4466-b4bd-1c81226968ee"
    },
    "status": "ok",
    "message": "Event built",
    "success": true
}