Add Webhook Endpoints
POST
/api/v1/developer/webhooks/endpoints
Available since v2.2.10
Authorizations
bearerAuth
Type
HTTP (bearer)
Request Body
application/json
JSON "endpoint": "https://example.com/webhook", "name": "My Webhook", "events": [ [ "access.door.unlock" ] ], "headers": { "additionalProperties": "string" }
{
}
Responses
Successful response
application/json
JSON "code": "string", "msg": "string", "data": { "id": "string", "endpoint": "string", "name": "string", "secret": "string", "events": [ "string" ], "headers": { "additionalProperties": "string" } }
{
}