List invitations to answer
GET
/api/v1/mailbox/calendar/invitationsInvitations other people sent that still need an answer.
Errors
| Status | When |
|---|---|
401 |
No token, or the session expired or was signed out. Sign in again with POST /mailbox-auth/login. |
403 |
The account has a temporary password: until POST /security/password succeeds, every other call answers this with error_code: password_change_required. |
Request
GET
/api/v1/mailbox/calendar/invitationscurl -X GET 'https://courier.mailyte.com/api/v1/mailbox/calendar/invitations' \
-H 'Authorization: Bearer MAILBOX_TOKEN'const response = await fetch('https://courier.mailyte.com/api/v1/mailbox/calendar/invitations', {
method: 'GET',
headers: {
Authorization: 'Bearer MAILBOX_TOKEN',
},
});
const { data } = await response.json();import requests
response = requests.get(
"https://courier.mailyte.com/api/v1/mailbox/calendar/invitations",
headers={"Authorization": "Bearer MAILBOX_TOKEN"},
)
data = response.json()["data"]<?php
$response = Http::withToken('MAILBOX_TOKEN')
->get('https://courier.mailyte.com/api/v1/mailbox/calendar/invitations');
$data = $response->json('data');require "net/http"
require "json"
uri = URI("https://courier.mailyte.com/api/v1/mailbox/calendar/invitations")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer MAILBOX_TOKEN"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }Response
Successful Response
dataarray<object>idstringThe event's id within its calendar; use it in the event URLs.
etagstringSend it back as
etagwhen you update or delete, so a change made elsewhere is not overwritten.calendarstringuidstringsummarystring or nulldescriptionstring or nulllocationstring or nullstatusstring or nullstartstringISO 8601.
endstring or nulltimezonestring or nullall_daybooleanrecurringbooleanrrulestring or nullsequenceintegerorganizerobjectemailstringnamestring or null
attendeesarray<object>emailstringnamestring or nullstatusstringrolestringrsvpbooleanschedule_statusstring or null
alarmsintegerremindersarray<integer>Minutes before the start.
methodstring or nullREQUEST, CANCEL or REPLY.
200
application/json{
"type": "success",
"msg": "Invitations retrieved successfully",
"data": [
{
"id": "8f14e45f.ics",
"etag": "\"a1b2c3\"",
"calendar": "default",
"uid": "8f14e45f@yourdomain.com",
"summary": "Quarterly review",
"description": "Q3 numbers and the plan for Q4.",
"location": "Board room",
"status": "CONFIRMED",
"start": "2026-10-14T10:00:00+01:00",
"end": "2026-10-14T11:00:00+01:00",
"timezone": "Africa/Lagos",
"all_day": false,
"recurring": false,
"rrule": null,
"sequence": 0,
"organizer": {
"email": "tunde@example.com",
"name": "Tunde Bello"
},
"attendees": [
{
"email": "tunde@example.com",
"name": "Tunde Bello",
"status": "NEEDS-ACTION",
"role": "REQ-PARTICIPANT",
"rsvp": true,
"schedule_status": null
}
],
"alarms": 1,
"reminders": [
15
],
"method": "REQUEST"
}
]
}Returned inside the standard envelope.
Errors
| Status | When |
|---|---|
401 | No token, or the session expired or was signed out. Sign in again with `POST /mailbox-auth/login`. |
403 | The account has a temporary password: until `POST /security/password` succeeds, every other call answers this with `error_code: password_change_required`. |
Every status, with what causes it and what to do, is on the error reference.