Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Rotate a webhook subscription secret

Replaces the signing secret and exposes it once with the subscription record.

POST https://app.upfour.io/v1/webhook-subscriptions/{subscriptionID}/rotate-secret
POST https://app.upfour.io/v1/webhook-subscriptions/{subscriptionID}/rotate-secret

A real request. Sending it changes data in your up4 account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs webhook.write.
Path
Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope webhook.write beta Idempotency-Key supported returns 200

Parameters

FieldTypeDescription
subscriptionID required uuid path parameter

Returns

A successful request returns 200 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data WebhookSubscriptionCreated
WebhookSubscriptionCreated · 11 fields
FieldTypeDescription
active boolean
created_at string (date-time)
events string[] · nullable
failure_count integer
id uuid
org_id uuid
secret string Signing secret of the subscription, whsec_ plus 64 hex characters. Returned by this call only; list, update and read calls never include it. Store it now: a lost secret cannot be read back, only replaced with POST /webhook-subscriptions/{subscriptionID}/rotate-secret. The old secret stops signing at once.
updated_at string (date-time)
url string
disabled_at string (date-time) Set while the subscription is switched off, by active: false or by the delivery worker after repeated failures.
last_delivery_at string (date-time)

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
404 not_found The requested resource does not exist or is outside the caller's scope.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.