Svix · Arazzo Workflow

Svix Rotate Endpoint Signing Secret

Version 1.0.0

Rotate a webhook endpoint's signing secret and read back the new secret value.

1 workflow 1 source API 1 provider
View Spec View on GitHub WebhookWebhooks As A ServiceWebhook DeliveryWebhook SendingEvent-DrivenEventingMessagingPub-SubStreamingIngestIntegrationReliabilityRetriesDeliverabilitySigningVerificationHMACStandard WebhooksMulti-TenantMulti-RegionEnterpriseSoftware-as-a-ServiceDeveloper PlatformRESTSOC 2HIPAAPCI DSSGDPROpen-SourceRustPolyglot SDKTerraformCLIArazzoWorkflows

Provider

svix

Workflows

rotate-endpoint-secret
Rotate an endpoint signing secret and retrieve the new value.
Fetches the endpoint to confirm it exists, triggers a secret rotation (returning 204 No Content), then reads the new signing secret back.
3 steps inputs: appId, endpointId outputs: endpointId, secret
1
getEndpoint
Confirm the target endpoint exists before rotating its secret. Returns 200 with the endpoint object.
2
rotateSecret
Rotate the endpoint signing secret, letting Svix generate a new value by sending a null key. Returns 204 No Content on success.
3
getNewSecret
Read the endpoint's current signing secret so the rotated value can be distributed. Returns 200 with the secret key.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Svix Rotate Endpoint Signing Secret
  summary: Rotate a webhook endpoint's signing secret and read back the new secret value.
  description: >-
    Webhook signing secrets must be rotated periodically for security. This
    workflow confirms the endpoint exists, rotates its signing secret (letting
    Svix generate a fresh one), and then reads the current secret back so the
    caller can distribute the new value to the receiving service. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: endpointApi
  url: ../openapi/svix-endpoint-api-openapi.yml
  type: openapi
workflows:
- workflowId: rotate-endpoint-secret
  summary: Rotate an endpoint signing secret and retrieve the new value.
  description: >-
    Fetches the endpoint to confirm it exists, triggers a secret rotation
    (returning 204 No Content), then reads the new signing secret back.
  inputs:
    type: object
    required:
    - appId
    - endpointId
    properties:
      appId:
        type: string
        description: The id or uid of the application owning the endpoint.
      endpointId:
        type: string
        description: The id or uid of the endpoint whose secret is rotated.
  steps:
  - stepId: getEndpoint
    description: >-
      Confirm the target endpoint exists before rotating its secret. Returns 200
      with the endpoint object.
    operationId: v1.endpoint.get
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    - name: endpoint_id
      in: path
      value: $inputs.endpointId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      endpointId: $response.body#/id
  - stepId: rotateSecret
    description: >-
      Rotate the endpoint signing secret, letting Svix generate a new value by
      sending a null key. Returns 204 No Content on success.
    operationId: v1.endpoint.rotate-secret
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    - name: endpoint_id
      in: path
      value: $steps.getEndpoint.outputs.endpointId
    requestBody:
      contentType: application/json
      payload:
        key:
    successCriteria:
    - condition: $statusCode == 204
  - stepId: getNewSecret
    description: >-
      Read the endpoint's current signing secret so the rotated value can be
      distributed. Returns 200 with the secret key.
    operationId: v1.endpoint.get-secret
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    - name: endpoint_id
      in: path
      value: $steps.getEndpoint.outputs.endpointId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      secret: $response.body#/key
  outputs:
    endpointId: $steps.getEndpoint.outputs.endpointId
    secret: $steps.getNewSecret.outputs.secret

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/svix-rotate-endpoint-secret-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.