Get a person calendar feed
Módulo Platform
GET/person-calendar-feeds/{id}personCalendarFeeds.get
A person's own iCalendar feed across every org they work with through an engagement (1410): their published shifts and the meetings, milestones and deadlines shared with them. Only a hash of the token is kept; the token is shown once by personCalendarFeeds.create and personCalendarFeeds.rotate, and deleting the feed revokes it for good. Returns one person calendar feed with its `ETag`. A person calendar feed the caller may not see returns 404.
- Requiere la capacidad me.calendar_feeds.write.
- Alcances de OAuth: me.
- Estados de error: 400, 401, 404, 429. Los errores son detalles de problema RFC 9457.
Parámetros de ruta y de consulta
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the person calendar feed. |
| fields | Fields | No | Sparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$ |
Respuesta 200: PersonCalendarFeed
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the person calendar feed. |
| created_at | string (date-time) | Sí | When the row was created. |
| updated_at | string (date-time) | Sí | When the row was last updated. |
| person_id | string (uuid) | Sí | Identifier of the person who owns the feed; always the caller. |
| token_hint | string | Sí | Last four characters of the token.Restricciones: length 1 to 4 |
| last_accessed_at | string (date-time) | null | Sí | Last time a calendar fetched the feed. |
| rotated_at | string (date-time) | null | Sí | When the token was last replaced. |
{
"id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"created_at": "2026-10-08T14:30:00Z",
"updated_at": "2026-10-08T14:30:00Z",
"person_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"token_hint": "a1b2",
"last_accessed_at": "2026-10-08T14:30:00Z",
"rotated_at": "2026-10-08T14:30:00Z"
}Ejemplos de código
curl -X GET "$XOS_BASE_URL/person-calendar-feeds/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $XOS_API_KEY"const { data, etag } = await xos.personCalendarFeeds.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");response = xos.person_calendar_feeds.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")xos person-calendar-feeds get 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f