Note: The Docus Lab API is in active development. Features and endpoints may be updated. Please refer to the latest API version in the official documentation for the most accurate information.
POST
application/json
https://partner-api.example.com/webhooks/notifications
Header | Value | Description |
---|---|---|
x-webhook-key | YOUR_WEBHOOK_SECRET | API secret key for authentication |
Content-Type | application/json | Specifies JSON format |
{
"patient_id": "12345",
"message": "Patient's recent test indicates high cholesterol levels. A follow-up test is recommended."
}
Field | Type | Description |
---|---|---|
patient_id | string | Unique identifier of the patient. |
message | string | AI-powered health insight or recommendation. |
{
"status": "success",
"message": "Notification received successfully."
}
Status Code | Meaning | Example Response |
---|---|---|
400 | Bad Request | { "error": "Invalid payload format" } |
401 | Unauthorized | { "error": "Invalid API key" } |
500 | Server Error | { "error": "Internal server issue" } |
x-webhook-key
match expected value.