Skip to main content
POST
/
integrations
/
api
/
v1
/
webhooks
/
endpoints
/
{endpoint_id}
/
rotate-secret
Rotate signing secret
curl --request POST \
  --url https://www.closient.com/integrations/api/v1/webhooks/endpoints/{endpoint_id}/rotate-secret/ \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>",
  "signing_secret": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "",
  "event_types": [
    "<string>"
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

endpoint_id
string<uuid>
required

Unique identifier of the webhook endpoint.

Response

200 - application/json

OK

Response schema for a webhook endpoint (secret masked).

id
string<uuid>
required

Endpoint identifier.

url
string
required

Endpoint URL.

signing_secret
string
required

Signing secret (masked in list/get responses).

is_active
boolean
required

Whether the endpoint is active.

created_at
string<date-time>
required

When the endpoint was created.

updated_at
string<date-time>
required

When the endpoint was last updated.

description
string
default:""

Human-readable label.

event_types
string[]

Subscribed event types.