---
title: "Resource schedule updated"
method: POST
path: "resource_schedule.updated"
tags: ["webhooks"]
---

# Resource schedule updated

`POST resource_schedule.updated` (webhook)

Triggered when an existing resource schedule is updated, including when a recurring schedule's recurrence is ended.

## Payload

- ResourceScheduleUpdatedWebhookPayload
  - `data` object, required
    - `created` string, date-time, required: The datetime this object was created.
    - `deleted` string, date-time, nullable, required: The datetime this record was soft deleted.
    - `end_datetime` string, date-time, nullable, required: ISO 8601 formatted end datetime of the schedule in UTC. Null when use_clinic_hours is true.
    - `id` integer, required: The unique identifier for this resource schedule.
    - `is_deleted` boolean, required: Whether this record is soft deleted or not.
    - `is_recurring` boolean, required: Whether this record follows a recurrence pattern.
    - `modified` string, date-time, required: The datetime this object was last modified; changes to related entities will not update this field.
    - `recurrence` RecurrenceBreakdownSchema: Structured representation of an RFC 2445 recurrence rule.
      - `days_of_week` string[]: Two-letter day codes. Applicable for WEEKLY and some MONTHLY patterns.
      - `end_after_occurrences` integer, nullable: Total number of occurrences before the recurrence ends, if bounded by count.
      - `end_date` string, date, nullable: ISO 8601 date (YYYY-MM-DD) when the recurrence ends, if bounded by date.
      - `frequency` 'YEARLY' | 'MONTHLY' | 'WEEKLY' | 'DAILY' | 'HOURLY' | 'MINUTELY' | 'SECONDLY', required: The base recurring frequency.
      - `interval` integer, required: The interval between each frequency iteration (e.g., 2 means every 2 weeks for WEEKLY).
    - `resource.calendar.clinic_id` integer, required: The ID of the clinic this resource schedule belongs to.
    - `resource_id` integer, required: The ID of the calendar resource this schedule is for.
    - `rrule` string, nullable: Raw RFC 2445 RRule string, if recurring.
    - `start_datetime` string, date-time, required: ISO 8601 formatted start datetime of the schedule in UTC.
    - `use_clinic_hours` boolean, required: Whether this resource follows the clinic's business hours instead of a custom end time.
  - `type` 'resource_schedule.updated', required: The event type identifier.

## Acknowledgement `200`

Webhook received

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
