GET /me/calendar/events
Lista events pessoais expandindo RRULE na janela.
- Acesso: Login
- Serviço:
https://api-calendar.axuz.net
Autenticação aceita
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Responde GET /me/calendar/events?start=&end=&calendar_ids=.
Motivo: mesmo shape do team-scoped listEvents mas com teamID=uuid.Nil pra escopar personal (e futuramente união cross-team — .7b deferido). Comportamento: idêntico a listEvents; expander RRULE aplicado.
Entradas: JWT + query. Saídas: {items} 200 ou 400/500.
Parâmetros
| Nome | Em | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
start | query | string | sim | |
end | query | string | sim | |
calendar_ids | query | string | não | CSV de UUIDs de calendars. |
Respostas
200
OK.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
items | array<CalendarEvent> | sim | |
items[].id | string<uuid> | sim | |
items[].calendar_id | string<uuid> | null | não | |
items[].calendar_name | string | não | |
items[].calendar_color | string | não | |
items[].team_id | string<uuid> | null | não | |
items[].summary | string | sim | |
items[].description | string | null | não | |
items[].location | string | null | não | |
items[].dtstart | string<date-time> | sim | |
items[].dtend | string<date-time> | sim | |
items[].all_day | boolean | sim | |
items[].rrule | string | null | não | RFC5545 RRULE (ex: FREQ=WEEKLY;BYDAY=MO,WE). |
items[].tz | string | não | IANA timezone name (Region/City). '' = UTC. |
items[].is_recurring_instance | boolean | não | True quando é ocorrência expandida (não master row). |
items[].recurrence_id | string<date-time> | null | não | dtstart canônico da ocorrência dentro da série. |
items[].parent_event_id | string<uuid> | null | não | Aponta pro master quando é override. |
items[].is_overridden | boolean | não | |
items[].created_by | string<uuid> | não | |
items[].created_at | string<date-time> | não | |
items[].updated_at | string<date-time> | não | |
items[].meet_room_id | string<uuid> | não | Sala de vídeo vinculada ao evento (F-063). AUSENTE quando o evento não tem sala — o cliente testa presença da chave, não string vazia. Só é devolvido em |
items[].meet_room_slug | string | não | Slug da mesma sala. É a chave da entrada de CONVIDADO ( |
items[].reminders | array<CalendarEventReminder> | não | Lembretes do evento (R-007). Devolvido em |
items[].reminders[].id | string<uuid> | sim | |
items[].reminders[].trigger_offset_minutes | integer | sim | |
items[].reminders[].kind | string | sim | enum: |
items[].reminders[].fired_at | string<date-time> | não | AUSENTE enquanto pendente; presente quando terminal. |
400
Input inválido.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
401
Faltando ou token inválido.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
429
Limite de requisições excedido.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim |
Exemplos
O "Try it" está desligado nesta referência. Use os exemplos com a sua credencial de teste.
curl
curl -sS -X GET 'https://api-calendar.axuz.net/me/calendar/events?start=VALUE&end=VALUE' \
-H "Authorization: Bearer $AXUZ_TOKEN"Node.js
const res = await fetch("https://api-calendar.axuz.net/me/calendar/events?start=VALUE&end=VALUE", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
},
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"GET",
"https://api-calendar.axuz.net/me/calendar/events?start=VALUE&end=VALUE",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())