---
title: "List Webhooks"
method: GET
path: "/v2/company/{company_id}/webhooks"
tags: ["Webhooks"]
---

# List Webhooks

`GET /v2/company/{company_id}/webhooks`

## Request

- Base URL: `https://api.7shifts.com`
- URL: `https://api.7shifts.com/v2/company/{company_id}/webhooks`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.7shifts.com/oauth2/authorize`
    - Client credentials
    - Password
    - Token URL: `https://app.7shifts.com/oauth2/token`
  - API key in cookie `7session`
- TypeScript: <https://skmtc.dev/7shifts/apis/7shifts-api/docs/v2/company/:company_id/webhooks/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `company_id` integer, required

## Query parameters

- `modified_since` string: A date with YYYY-MM-DD format
- `cursor` string
- `limit` integer

## Headers

- `x-api-version` string: An API version
- `x-company-guid` string, uuid

## Response `200`

OK

- object
  - `object` 'webhooks', required
  - `data` object[], required
    - `id` integer, required: Webhook ID
    - `company_id` integer, required: Company ID
    - `url` string, required: Webhook URL
    - `method` 'post' | 'get' | 'put' | 'patch' | 'delete', required: Webhook method
    - `event` string, required: Webhook event
    - `created` string, required: Webhook create date time. UTC date time in ISO8601 format
    - `modified` string, required: Webhook modified date time. UTC date time in ISO8601 format
  - `meta` object, required
    - `cursor` object, required
      - `current` string, nullable, required: The current cursor.
      - `prev` string, nullable, required: A cursor for navigating to the previous page.
      - `next` string, nullable, required: A cursor for navigating to the next page.
      - `count` integer, nullable, required: The total items in the current cursor.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Server Error

---

[API](https://skmtc.dev/7shifts/apis/7shifts-api.md) - [All operations](https://skmtc.dev/7shifts/apis/7shifts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/7shifts/apis/7shifts-api/revisions/40e0ef40dfcd?raw)
