# PimInvitationStatus

The PimInvitationStatus type of the TypeScript SDK, which calendars.getInvitationStatus take or answer.

```ts
type PimInvitationStatus = {
  amOrganizer: boolean
  calendarId: string | null
  found: boolean
  href: string | null
  myAddress: string | null
  myPartstat: string | null
  organizer: string | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `amOrganizer` | `boolean` | True if the current user is the organizer of this event |
| `calendarId` | `string` \| `null` | ID of the calendar holding this event, or null |
| `found` | `boolean` | True if this event is already saved in a calendar |
| `href` | `string` \| `null` | DAV resource path of the stored event, or null |
| `myAddress` | `string` \| `null` | Email address of this mailbox listed as an attendee, or null |
| `myPartstat` | `string` \| `null` | Caller's current RSVP participation status (ACCEPTED, DECLINED, TENTATIVE), or null |
| `organizer` | `string` \| `null` | Organizer email address, or null |

## Used by

| Method | What it does |
| --- | --- |
| [`calendars.getInvitationStatus`](/docs/sdks/typescript/calendars/get-invitation-status) | Check invitation status by UID |
