POST
/
v1
/
indexer
/
subscriptions
/
{subscriptionId}
/
rotate-secret
Rotate signing secret
curl --request POST \
  --url https://api.withconvexity.com/v1/indexer/subscriptions/{subscriptionId}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Signing secret rotated",
  "data": {
    "id": "665f1a2b3c4d5e6f7a8b9c0d",
    "projectId": "proj_9f8e7d6c5b4a",
    "network": "BASE",
    "contractAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "webhookUrl": "https://api.merchant.example/webhooks/indexer",
    "events": [
      "transfer",
      "mint"
    ],
    "status": "active",
    "createdBy": "proj_9f8e7d6c5b4a",
    "createdAt": "2026-06-17T09:12:44.118Z",
    "updatedAt": "2026-06-17T12:05:51.004Z",
    "lastDeliveryAt": "2026-06-17T10:01:02.557Z",
    "deliveredCount": 42,
    "failedCount": 1,
    "signingSecret": "whsec_a1b2c3d4e5f60718293a4b5c6d7e8f90112233445566778899aabbccddeeff",
    "secretWarning": "Store this signing secret securely; it will not be shown again. Use it to verify the X-Indexer-Signature header."
  }
}

Authorizations

Authorization
string
header
required

OAuth 2.0 access token from Auth-Edge.

Path Parameters

subscriptionId
string
required

Subscription id.

Response

200 - application/json

OK

The response is of type object.