Webhooks

Re-enable a disabled endpoint and replay what was held

POST
/v1/webhooks/{id}/enable

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Path Parameters

id*string
Length1 <= length <= 128

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X POST 'http://localhost:8080/v1/webhooks/string/enable'
{  "success": true,  "data": {    "endpoint": {      "id": "string",      "url": "string",      "event_types": [        "string"      ],      "status": "string",      "disabled_reason": "string",      "disabled_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "replayed": -9007199254740991  },  "meta": {    "request_id": "string"  }}