Skip to main content
WEBHOOK

When it’s sent

  • A new procedure is added to the price list in Settings → Procedures and Prices.
The request type is NEW_PROCEDURE. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.

Headers

X-Hub-Signature-256
string

HMAC SHA-256 of the raw request body, keyed with your Verify Token, as sha256=<hex>. Sent only when a Verify Token is set.

Example:

"sha256=3f1c5e…"

Body

application/json

Sent when a procedure is added to the price list.

version
enum<string>
required

Payload version.

Available options:
v1.0
Example:

"v1.0"

type
enum<string>
required

Event type.

Available options:
NEW_PROCEDURE
Example:

"NEW_PROCEDURE"

id
string

Procedure ID.

Example:

"ckx1s0000001"

name
string

Procedure name.

Example:

"Composite filling"

code
string | null

Procedure code.

Example:

"D2391"

service_type
enum<string>

Always service.

Available options:
service
Example:

"service"

price
number | null

Default price.

Example:

500

Response

200

Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.