# PIM

Calendars and addressbooks: collections and their objects (iCalendar/vCard), sync tokens, import/export, sharing, feed tokens, public-directory subscriptions, and invitation RSVP.

- `GET` [Free/busy for an identity](/docs/api/pim/get_IdentityFreeBusy): Busy intervals across every calendar this identity owns, inside the asked-for window.
- `POST` [Free/busy for several addresses](/docs/api/pim/post_FreeBusyBatch): Busy intervals for each of the given calendar-user addresses, inside one window, asked as the identity in the path.
- `GET` [List arriving scheduling messages](/docs/api/pim/get_SchedulingInbox): What arrived for this identity and what became of it — applied, or refused and why.
- `GET` [Read one scheduling Inbox entry](/docs/api/pim/get_SchedulingInboxEntry): The scheduling message an Inbox entry holds — METHOD and all — as text/calendar.
- `DELETE` [Consume a scheduling Inbox entry](/docs/api/pim/delete_SchedulingInboxConsume): Acknowledges one Inbox entry: its message is dropped and it leaves the pending listing.
- `POST` [Create calendar](/docs/api/pim/post_CalendarCreate): Creates a new calendar collection for a mailbox.
- `GET` [List calendars](/docs/api/pim/get_CalendarList): Returns all calendars for a mailbox with their sync tokens.
- `GET` [Get calendar by ID](/docs/api/pim/get_CalendarGet): Returns collection details and sync token for a calendar by its ID.
- `PATCH` [Update calendar](/docs/api/pim/patch_CalendarUpdate): Updates properties (name, color, description, visibility) for a calendar collection.
- `DELETE` [Delete calendar](/docs/api/pim/delete_CalendarDelete): Deletes a calendar collection and all objects stored within it.
- `GET` [Get calendar by name](/docs/api/pim/get_CalendarGetByName): Returns collection details and sync token for a calendar by its URL name slug.
- `GET` [List calendar objects](/docs/api/pim/get_CalendarObjectList): Returns a paginated list of calendar objects, optionally filtered by time range and expanded for recurring events.
- `PUT` [Create or replace calendar object](/docs/api/pim/put_CalendarObjectPut): Creates or updates a calendar object from raw text/calendar text or JSCalendar JSON (RFC 8984).
- `GET` [Get calendar object](/docs/api/pim/get_CalendarObjectGet): Returns a calendar object in raw text/calendar format, or as JSCalendar JSON (RFC 8984) when requested with Accept: application/json.
- `DELETE` [Delete calendar object](/docs/api/pim/delete_CalendarObjectDelete): Deletes a calendar object by its href slug or UID.
- `POST` [Move or rename calendar object](/docs/api/pim/post_CalendarObjectMove): Moves a calendar object to another collection, renames its href slug, or both.
- `POST` [RSVP to calendar invitation](/docs/api/pim/post_CalendarObjectRespond): Records an attendee's participation status (ACCEPTED, DECLINED, TENTATIVE) and notifies the meeting organizer via direct update or iTIP reply message.
- `GET` [List what was sent for one event](/docs/api/pim/get_CalendarObjectScheduling): Every invitation, update, cancellation and reply this identity sent for the event, and what became of each delivery: delivered, sent, being retried, refused…
- `GET` [List deleted calendar objects](/docs/api/pim/get_CalendarObjectTrashList): The objects deleted out of this calendar within the last fourteen days, newest first, metadata only (a restore is how the body comes back).
- `DELETE` [Empty calendar trash](/docs/api/pim/delete_CalendarObjectTrashEmpty): Removes every deleted object of this calendar from the trash for good.
- `POST` [Restore deleted calendar object](/docs/api/pim/post_CalendarObjectTrashRestore): Brings a deleted object back into this calendar under its own id, href and UID, byte-identical.
- `DELETE` [Purge deleted calendar object](/docs/api/pim/delete_CalendarObjectTrashPurge): Removes one deleted object from the trash for good.
- `GET` [Sync changes for calendar](/docs/api/pim/get_CalendarChanges): Returns added, updated, and deleted object delta changes since a previous sync token (RFC 6578 sync-collection).
- `POST` [Import calendar data](/docs/api/pim/post_CalendarImport): Imports multiple calendar items in bulk from a text/calendar file (iCalendar .ics or vCard .vcf).
- `GET` [Export whole calendar](/docs/api/pim/get_CalendarExport): Exports the entire calendar collection as a single iCalendar (.ics) text stream.
- `PUT` [Grant calendar access](/docs/api/pim/put_CalendarSharePut): Grants read or write access to a mailbox for a calendar collection.
- `DELETE` [Revoke calendar access](/docs/api/pim/delete_CalendarShareDelete): Revokes a mailbox's access grant to a calendar collection.
- `GET` [List calendar access grants](/docs/api/pim/get_CalendarShareList): Returns access grants configured on a calendar collection.
- `POST` [Create calendar feed token](/docs/api/pim/post_CalendarTokenCreate): Generates a secret read-only feed token URL for syncing a calendar in external apps (webcal/.ics/.vcf).
- `GET` [List calendar feed tokens](/docs/api/pim/get_CalendarTokenList): Returns active read-only subscription tokens for a calendar collection.
- `DELETE` [Revoke calendar feed token](/docs/api/pim/delete_CalendarTokenRevoke): Revokes a read-only feed token for a calendar collection.
- `GET` [List deleted calendars](/docs/api/pim/get_CalendarTrashList): The calendars this mailbox deleted within the last fourteen days, newest first, each with the count of members that went with it.
- `POST` [Restore deleted calendar](/docs/api/pim/post_CalendarTrashRestore): Brings a deleted calendar back under its own id, with exactly the members that were deleted with it (members deleted individually beforehand stay in the trash…
- `DELETE` [Purge deleted calendar](/docs/api/pim/delete_CalendarTrashPurge): Removes a deleted calendar from the trash for good, with every trashed object that belonged to it.
- `GET` [Check invitation status by UID](/docs/api/pim/get_PimInvitationStatusRoute): Checks whether an event with a specific iCalendar UID is already filed across any of the mailbox's calendars and returns the user's current RSVP response.
- `POST` [Accept or decline emailed invitation](/docs/api/pim/post_PimInvitationRespond): Files an emailed calendar invitation to the default calendar and submits the user's RSVP response (ACCEPT, DECLINE, TENTATIVE) to the organizer.
- `GET` [Get invitation from email message](/docs/api/pim/get_MessageInvitationRoute): Extracts and parses the iCalendar (.ics) meeting invitation from an email message with filing status and RSVP options.
- `POST` [Create addressbook](/docs/api/pim/post_AddressbookCreate): Creates a new addressbook collection for a mailbox.
- `GET` [List addressbooks](/docs/api/pim/get_AddressbookList): Returns all addressbooks for a mailbox with their sync tokens.
- `GET` [Get addressbook by ID](/docs/api/pim/get_AddressbookGet): Returns collection details and sync token for a addressbook by its ID.
- `PATCH` [Update addressbook](/docs/api/pim/patch_AddressbookUpdate): Updates properties (name, color, description, visibility) for a addressbook collection.
- `DELETE` [Delete addressbook](/docs/api/pim/delete_AddressbookDelete): Deletes a addressbook collection and all objects stored within it.
- `GET` [Get addressbook by name](/docs/api/pim/get_AddressbookGetByName): Returns collection details and sync token for a addressbook by its URL name slug.
- `GET` [List addressbook objects](/docs/api/pim/get_AddressbookObjectList): Returns a paginated list of contacts in an addressbook collection.
- `PUT` [Create or replace addressbook object](/docs/api/pim/put_AddressbookObjectPut): Creates or updates a addressbook object from raw text/vcard text or JSContact JSON (RFC 9553).
- `GET` [Get addressbook object](/docs/api/pim/get_AddressbookObjectGet): Returns a addressbook object in raw text/vcard format, or as JSContact JSON (RFC 9553) when requested with Accept: application/json.
- `DELETE` [Delete addressbook object](/docs/api/pim/delete_AddressbookObjectDelete): Deletes a addressbook object by its href slug or UID.
- `POST` [Move or rename addressbook object](/docs/api/pim/post_AddressbookObjectMove): Moves a addressbook object to another collection, renames its href slug, or both.
- `GET` [List deleted addressbook objects](/docs/api/pim/get_AddressbookObjectTrashList): The objects deleted out of this addressbook within the last fourteen days, newest first, metadata only (a restore is how the body comes back).
- `DELETE` [Empty addressbook trash](/docs/api/pim/delete_AddressbookObjectTrashEmpty): Removes every deleted object of this addressbook from the trash for good.
- `POST` [Restore deleted addressbook object](/docs/api/pim/post_AddressbookObjectTrashRestore): Brings a deleted object back into this addressbook under its own id, href and UID, byte-identical.
- `DELETE` [Purge deleted addressbook object](/docs/api/pim/delete_AddressbookObjectTrashPurge): Removes one deleted object from the trash for good.
- `GET` [Sync changes for addressbook](/docs/api/pim/get_AddressbookChanges): Returns added, updated, and deleted object delta changes since a previous sync token (RFC 6578 sync-collection).
- `POST` [Import addressbook data](/docs/api/pim/post_AddressbookImport): Imports multiple addressbook items in bulk from a text/vcard file (iCalendar .ics or vCard .vcf).
- `GET` [Export whole addressbook](/docs/api/pim/get_AddressbookExport): Exports the entire addressbook collection as a single vCard (.vcf) text stream.
- `PUT` [Grant addressbook access](/docs/api/pim/put_AddressbookSharePut): Grants read or write access to a mailbox for a addressbook collection.
- `DELETE` [Revoke addressbook access](/docs/api/pim/delete_AddressbookShareDelete): Revokes a mailbox's access grant to a addressbook collection.
- `GET` [List addressbook access grants](/docs/api/pim/get_AddressbookShareList): Returns access grants configured on a addressbook collection.
- `POST` [Create addressbook feed token](/docs/api/pim/post_AddressbookTokenCreate): Generates a secret read-only feed token URL for syncing a addressbook in external apps (webcal/.ics/.vcf).
- `GET` [List addressbook feed tokens](/docs/api/pim/get_AddressbookTokenList): Returns active read-only subscription tokens for a addressbook collection.
- `DELETE` [Revoke addressbook feed token](/docs/api/pim/delete_AddressbookTokenRevoke): Revokes a read-only feed token for a addressbook collection.
- `GET` [List deleted addressbooks](/docs/api/pim/get_AddressbookTrashList): The addressbooks this mailbox deleted within the last fourteen days, newest first, each with the count of members that went with it.
- `POST` [Restore deleted addressbook](/docs/api/pim/post_AddressbookTrashRestore): Brings a deleted addressbook back under its own id, with exactly the members that were deleted with it (members deleted individually beforehand stay in the…
- `DELETE` [Purge deleted addressbook](/docs/api/pim/delete_AddressbookTrashPurge): Removes a deleted addressbook from the trash for good, with every trashed object that belonged to it.
- `GET` [Suggest contacts](/docs/api/pim/get_ContactSuggest): Compose-screen autocomplete: matches what the user typed (case-insensitive substring) against each card's formatted name, email and structured name, across…
- `GET` [List collections shared with mailbox](/docs/api/pim/get_PimSharedWithMeList): Returns calendar and addressbook collections shared with the mailbox by other users.
- `GET` [Browse account public directory](/docs/api/pim/get_PimPublicDirectory): Returns discoverable public calendars and addressbooks shared across the account tenant.
- `POST` [Subscribe to public collection](/docs/api/pim/post_PimSubscribe): Subscribes the mailbox to a public collection and creates a read grant.
- `DELETE` [Unsubscribe from public collection](/docs/api/pim/delete_PimUnsubscribe): Unsubscribes the mailbox from a public collection and removes its read grant.
- `GET` [List public collection subscriptions](/docs/api/pim/get_PimSubscriptionList): Returns all public collections the mailbox is currently subscribed to.
- `GET` [Export collection via feed token](/docs/api/pim/get_PimFeed): Returns a full iCalendar or vCard feed for calendar and addressbook sync.
- `GET` [Subscribe to live calendar and contacts change events over WebSocket](/docs/api/pim/get_PimEvents): Upgrades to a WebSocket that streams pim.changed frames for this identity's calendars, tasks and contacts: { v, type, ts, data } where data is the current…
