v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Webhooks AutoConfig

Rotate Subscription

Rotate the auth token for an auto-config endpoint.

post/api/v1/app/{app_id}/endpoint/{endpoint_id}/auto-config/rotate

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

endpoint_idstring required

The Endpoint's ID or UID.

Example:unique-identifier

The Endpoint's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

Example request

{
  "signingSecret": {
    "key": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
  }
}

Response

updatedAtstring date-time required
tokenstring required
endpIdstring required

The Endpoint's ID.

Example response

{
  "endpId": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2"
}