---
title: "Get Scan Schedules"
method: GET
path: "/v1/scans/schedule"
tags: ["scans"]
---

# Get Scan Schedules

`GET /v1/scans/schedule`

Get scan schedules for a user

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- object
  - `message` string, required
  - `schedules` ScanSchedule[], required
    - `scan_frequency` string, required
    - `scan_id` string, required
    - `schedule_last_run` string, required
    - `schedule_next_run` string, required
    - `start_time` string, time
    - `hourly_frequency` integer
    - `custom_weekdays` integer[] — Array of integer denoting the weekdays on which the scan is supposed to run. 0-6 denoting Sunday-Saturday.

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-08-13** `c41cd7ae7718` — 1 breaking, 18 info
  - removed the required property `schedules` from the response with the `400` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `500` status
  - …15 more
- **2024-09-22** `407b73d9ce28` — 1 info
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-04-19** `ba8a20839440` — 5 info
  - added the optional property `schedules/items/custom_weekdays` to the response with the `200` status
  - added the optional property `schedules/items/hourly_frequency` to the response with the `200` status
  - added the optional property `schedules/items/start_time` to the response with the `200` status
  - added the required property `schedules` to the response with the `400` status
  - …1 more
- **2024-01-31** `4f557b176ebd` — 1 breaking, 5 info
  - the response's body type/format changed from `array`/`` to `object`/`` for status `200`
  - added the non-success response with the status `400`
  - the response property `message` became required for the status `401`
  - the response property `message` became required for the status `500`
  - …2 more
- **2023-12-06** `35be9c1301b7` — 1 info
  - api tag `scans` added

[Full history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/schedule/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/220f0adf9efd/schema)
