List all Shifts

Endpoint and Request Method:

GET /api/shifts/

This endpoint retrieves a paginated list of all shifts for the authenticated institution.

Example Request:

GET https://api.vomevolunteer.com/api/shifts/

Authorization:

Requests to this endpoint require an API-KEY in the header for authentication.

headers = {
    "API-KEY": "your_unique_api_key_here"
}

response = requests.get(
    "https://api.vomevolunteer.com/api/shifts/",
    headers=headers
)

Supported query parameters:

  • page: Page number.

  • page_size: Number of results per page, up to 100.

  • opportunity.id: Filters by related opportunity ID.

  • opportunity_id: Alias for opportunity.id.

  • opportunity_role_id: Alias for opportunity.id.

  • category.id: Filters by related category ID.

  • category_id: Alias for category.id.

Response Structure:

The response is a paginated object containing shift records. Each record represents a single shift along with its schedule, capacity details, and share URL.

Response Object:

Last updated