---
title: "GET /api/im/reports/on-call"
method: GET
path: "/api/im/reports/on-call"
tags: ["Im"]
---

# GET /api/im/reports/on-call

`GET /api/im/reports/on-call`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/im/reports/on-call`
- Auth: HTTP bearer

## Query parameters

- `from` union, required
  - string, date
  - string, date-time
- `to` union, required
  - string, date
  - string, date-time
- `format` 'json' | 'csv'
- `organizationId` integer

## Response `200`

Successful response

- object
  - `periodStart` string, date-time, required
  - `periodEnd` string, date-time, required
  - `users` object[], required
    - `userId` string, required
    - `userName` string, nullable, required
    - `minutes` number, required: Minutes on call in the range.

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
