---
title: "Webhook samples"
method: GET
path: "/client_memberships/webhook_samples"
tags: ["Client Memberships"]
---

# Webhook samples

`GET /client_memberships/webhook_samples`

Retrieve webhook samples for client memberships

## Query parameters

- `limit` integer

## Headers

- `X-Subdomain` string

## Response `200`

client memberships response

- ClientMembershipWebhookSamplesList
  - `client_memberships` ClientMembershipWebhookSample[], required
    - `mytime_id` integer, nullable
    - `company_id` integer
    - `objects` WebhookObject[]
      - `class` string — The class of the object
      - `type` string — The type of the object
      - `attrs` object — Attributes of the object
    - `action` string — The action performed on the client membership
    - `class` string — The class name of the main object
    - `user_id` integer, nullable

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Invalid parameters
- `500` — Internal Server Error
- `504` — Gateway Timeout

---

[API](https://skmtc.net/mytime/apis/mytime-partners-api.md) · [All operations](https://skmtc.net/mytime/apis/mytime-partners-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mytime/mytime-partners-api/versions/65d3a27fcb1a/schema)
