---
title: "Workspace changes"
method: POST
path: "webhooks/workspaceChanges"
tags: ["Webhooks"]
---

# Workspace changes

`POST webhooks/workspaceChanges` (webhook)

## Payload

- union
  - object
    - `eventTimestamp` string, required — Timestamp of when the event happened
    - `action` 'CREATED', required
    - `clientId` string, required — The ID of the client
    - `workspaceId` string, nullable, required — The ID of the workspace
    - `resource` 'WORKSPACE', required
    - `data` object, required
      - `id` string, required — The ID of the workspace
      - `name` string, required — The name of the workspace
      - `createdAt` string, required — The date and time of the creation for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `updatedAt` string, required — The date and time of the last update for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `archivedAt` string, nullable, required — The date and time the workspace was archived. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `clientId` string, required — The ID of the client
  - object
    - `eventTimestamp` string, required — Timestamp of when the event happened
    - `action` 'ARCHIVED', required
    - `clientId` string, required — The ID of the client
    - `workspaceId` string, nullable, required — The ID of the workspace
    - `resource` 'WORKSPACE', required
    - `data` object, required
      - `id` string, required — The ID of the workspace
      - `name` string, required — The name of the workspace
      - `createdAt` string, required — The date and time of the creation for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `updatedAt` string, required — The date and time of the last update for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `archivedAt` string, nullable, required — The date and time the workspace was archived. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `clientId` string, required — The ID of the client
  - object
    - `eventTimestamp` string, required — Timestamp of when the event happened
    - `action` 'UPDATED', required
    - `clientId` string, required — The ID of the client
    - `workspaceId` string, nullable, required — The ID of the workspace
    - `resource` 'WORKSPACE', required
    - `data` object, required
      - `id` string, required — The ID of the workspace
      - `name` string, required — The name of the workspace
      - `createdAt` string, required — The date and time of the creation for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `updatedAt` string, required — The date and time of the last update for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `archivedAt` string, nullable, required — The date and time the workspace was archived. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `clientId` string, required — The ID of the client
    - `previousData` object, required
      - `id` string, required — The ID of the workspace
      - `name` string, required — The name of the workspace
      - `createdAt` string, required — The date and time of the creation for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `updatedAt` string, required — The date and time of the last update for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `archivedAt` string, nullable, required — The date and time the workspace was archived. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).
      - `clientId` string, required — The ID of the client

## Acknowledgement `200`

Webhook received

---

[API](https://skmtc.net/steuerboard/apis/steuerboard-api.md) · [All operations](https://skmtc.net/steuerboard/apis/steuerboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/steuerboard/steuerboard-api/revisions/80748f72965e/schema)
