Skip to content

AHDS Store API (1.0)

Animal Health Data Store - V1 API Documentation

Overview
Languages
Servers
Mock server

https://docs.heydonto.com/_mock/apis/animal-health/openapi/

Local Development

http://localhost:8083/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Creates a new Webhook Event record. Canonical representation of a webhook event configuration or capability.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
descriptionstring

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobject

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

webhookEventIdstringrequired

Stable, opaque identifier for this webhook event configuration.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "eventType": "appointment.created",
    "extensions": {},
    "isEnabled": true,
    "webhookEventId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Webhook Event created successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this webhook event configuration was created.

Example: "2025-01-01T00:00:00.000Z"
descriptionstringrequired

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

updatedAtstring(date-time)required

Timestamp when this webhook event configuration was last updated.

Example: "2025-01-01T00:00:00.000Z"
webhookEventIdstringrequired

Stable, opaque identifier for this webhook event configuration.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventType": "appointment.created", "extensions": {}, "isEnabled": true, "updatedAt": "2025-01-01T00:00:00.000Z", "webhookEventId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Returns a paginated list of Webhook Events for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber>= 0

Page number (0-indexed)

Default 0
pageSizenumber[ 1 .. 100 ]

Number of items per page

Default 10
sortBystring

Field to sort by

Enum"createdAt""updatedAt""description"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
descriptionstring

Human-readable description of the webhook event.

eventTypestring

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
isEnabledboolean

Whether this webhook event is currently enabled.

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&description=string&eventType=appointment.created&isEnabled=true' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Webhook Events

Request

Returns a single Webhook Event by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

webhookEventIdstringrequired

Webhook Event unique identifier (UUID)

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event/{webhookEventId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Webhook Event found

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this webhook event configuration was created.

Example: "2025-01-01T00:00:00.000Z"
descriptionstringrequired

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

updatedAtstring(date-time)required

Timestamp when this webhook event configuration was last updated.

Example: "2025-01-01T00:00:00.000Z"
webhookEventIdstringrequired

Stable, opaque identifier for this webhook event configuration.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventType": "appointment.created", "extensions": {}, "isEnabled": true, "updatedAt": "2025-01-01T00:00:00.000Z", "webhookEventId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Partially updates an existing Webhook Event. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

webhookEventIdstringrequired

Webhook Event unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstring

Human-readable description of the webhook event.

eventTypestring

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobject

Vendor- or practice-specific extensions.

isEnabledboolean

Whether this webhook event is currently enabled.

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event/{webhookEventId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "eventType": "appointment.created",
    "extensions": {},
    "isEnabled": true
  }'

Responses

Webhook Event updated successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this webhook event configuration was created.

Example: "2025-01-01T00:00:00.000Z"
descriptionstringrequired

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

updatedAtstring(date-time)required

Timestamp when this webhook event configuration was last updated.

Example: "2025-01-01T00:00:00.000Z"
webhookEventIdstringrequired

Stable, opaque identifier for this webhook event configuration.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventType": "appointment.created", "extensions": {}, "isEnabled": true, "updatedAt": "2025-01-01T00:00:00.000Z", "webhookEventId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Fully replaces an existing Webhook Event. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

webhookEventIdstringrequired

Webhook Event unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstringrequired

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event/{webhookEventId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "eventType": "appointment.created",
    "extensions": {},
    "isEnabled": true
  }'

Responses

Webhook Event replaced successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this webhook event configuration was created.

Example: "2025-01-01T00:00:00.000Z"
descriptionstringrequired

Human-readable description of the webhook event.

eventTypestringrequired

Type of event that will trigger the webhook.

Enum"appointment.created""appointment.updated""product.created""product.updated""user.created""user.updated""consult.created""consult.updated""therapeutic.created""therapeutic.updated"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isEnabledbooleanrequired

Whether this webhook event is currently enabled.

updatedAtstring(date-time)required

Timestamp when this webhook event configuration was last updated.

Example: "2025-01-01T00:00:00.000Z"
webhookEventIdstringrequired

Stable, opaque identifier for this webhook event configuration.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventType": "appointment.created", "extensions": {}, "isEnabled": true, "updatedAt": "2025-01-01T00:00:00.000Z", "webhookEventId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Permanently deletes a Webhook Event record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

webhookEventIdstringrequired

Webhook Event unique identifier (UUID)

curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/webhook-event/{webhookEventId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Webhook Event deleted successfully

Operations
Operations