View webhook endpoints
This endpoint returns all webhook endpoints for the authenticated API user, optionally filtered by active status.
Authorization
Authorization In: header
Query Parameters
Return only active (true) or inactive (false) endpoints
Header Parameters
The NexHealth API version
"v3.0.0"Response Body
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
curl -X GET "https://example.com/webhook_endpoints" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 1, "target_url": "http://localhost:8085/hook", "secret_key": "NArWk7gdI96Bdn", "active": true, "created_at": "2020-06-05T20:16:57.007Z", "updated_at": "2020-06-05T20:16:57.007Z" } ], "count": 2}View sync status GET
This endpoint returns the live status of every sync the caller can access, one entry per sync, with separate read and write statuses (green or red), the last time data was read from the EHR and the last time the sync picked up write commands. Pass subdomain to scope to one institution and location_ids to narrow further. A location with no sync behind it returns no entry.
Create webhook endpoint POST
This endpoint creates a new webhook endpoint for the authenticated API user; `target_url` must use HTTPS in production.