My Developer Account

CalendarAccessGrant

Grants a specific person access to a Calendar whose access is restricted. Only event administrators can read a calendar's grants.

Example Request

curl https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants

View in API Explorer →

Example Object

{
  "type": "CalendarAccessGrant",
  "id": "1",
  "attributes": {
    "created_at": "2000-01-01T12:00:00Z"
  },
  "relationships": {
    "grantee": {
      "data": {
        "type": "Person",
        "id": "1"
      }
    }
  }
}

Attributes

Name Type Description
created_at date_time

When the person was granted access to the calendar

id primary_key

Relationships

Name Type Association Type Note
grantee Person to_one

Can Include

Parameter Value Description Assignable
include grantee

include associated grantee

create and update

Pagination

Name Parameter Type Description
per_page per_page integer

how many records to return per page (min=1, max=100, default=25)

offset offset integer

get results from given offset

Endpoints

Listing

HTTP Method Endpoint
GET /calendar/v2/calendars/{calendar_id}/calendar_access_grants

Reading

HTTP Method Endpoint
GET /calendar/v2/calendars/{calendar_id}/calendar_access_grants/{id}

Associations

HTTP Method Endpoint Returns Details Filter By
GET https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants/{calendar_access_grant_id}/grantee Person

Belongs To

HTTP Method Endpoint Association Details Filter By
GET https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants Calendar