---
title: "Team Member Event"
method: POST
path: "StaffEvent"
tags: ["Webhooks"]
---

# Team Member Event

`POST StaffEvent` (webhook)

Sent when a team member is created, updated, or deleted. The `data` field matches the response from `GET /company/{company_id}/staff/{staff_id}`.

## Payload

- object
  - `company_id` integer, required — Location ID where the event occurred.
  - `resource` 'staff', required — Resource type.
  - `resource_id` integer, required — ID of the resource that was created, updated, or deleted.
  - `status` 'create' | 'update' | 'delete', required — Type of change that occurred.
  - `data` Staff, required — Team member data sent in webhook notifications. Matches the output of the team member detail API.
    - `id` integer — Team member ID.
    - `api_id` string
    - `name` string — Full name.
    - `specialization` string
    - `position` object — Position details.
      - `id` integer
      - `title` string
    - `show_rating` 0 | 1
    - `rating` number
    - `votes_count` integer
    - `avatar` string — Avatar thumbnail URL.
    - `avatar_big` string — Full-size avatar URL.
    - `comments_count` integer
    - `weight` integer — Sort order.
    - `information` string — HTML biography.
    - `hidden` 0 | 1
    - `fired` 0 | 1 — 1 — dismissed, 0 — active.
    - `status` 0 | 1
    - `position_id` integer
    - `schedule_till` string — Schedule end date.
    - `image_group` object — Image group data.
    - `prepaid` string — Prepaid slug.
    - `user_id` integer, nullable
    - `user` object, nullable
      - `id` integer
      - `name` string
      - `phone` string
      - `email` string
      - `avatar` string
    - `has_access_timetable` boolean
    - `is_paid_staff` boolean

## Acknowledgement `200`

Your server should return any 2xx status code to acknowledge receipt.

---

[API](https://skmtc.dev/alteg/apis/developer-tools.md) · [All operations](https://skmtc.dev/alteg/apis/developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alteg/developer-tools/revisions/c89b6494ffd2/schema)
