Webhook Endpoints

View webhook endpoints

GET
/webhook_endpoints

This endpoint returns all webhook endpoints for the authenticated API user, optionally filtered by active status.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

active?boolean

Return only active (true) or inactive (false) endpoints

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"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}