Attribution Webhooks

Regenerate webhook signing secret

Changed on

Generates a new HMAC signing secret for the webhook subscription. The old secret is immediately invalidated.

Important: Store the new secret securely - it cannot be retrieved later.

post/campaigns/{campaign_id}/attribution/webhooks/{webhook_id}/regenerate_secret

Request

  • Base URL: https://api.wefunder.com
  • URL: https://api.wefunder.com/campaigns/{campaign_id}/attribution/webhooks/{webhook_id}/regenerate_secret
  • Auth: OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: read:attribution:anonymized)

Path parameters

campaign_idinteger required

The fundraise/campaign ID

webhook_idinteger required

The webhook subscription ID

Response

Secret regenerated

Example response

{
  "data": {
    "id": 123,
    "campaign_id": 789,
    "target_url": "https://yourapp.com/webhooks/wefunder",
    "events": [
      "investment.applied",
      "investment.confirmed"
    ],
    "active": true,
    "created_at": "2025-03-15T10:30:00Z",
    "updated_at": "2025-03-15T10:30:00Z",
    "secret": "whsec_a1b2c3d4e5f6g7h8i9j0..."
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status