Attribution Webhooks

Get webhook subscription details

Changed on

Returns details for a specific webhook subscription including recent delivery history.

get/campaigns/{campaign_id}/attribution/webhooks/{webhook_id}

Request

  • Base URL: https://api.wefunder.com
  • URL: https://api.wefunder.com/campaigns/{campaign_id}/attribution/webhooks/{webhook_id}
  • 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

Successful response

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",
    "recent_deliveries": [
      {
        "id": 456,
        "delivery_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "event_type": "investment.applied",
        "status": "delivered",
        "attempts": 1,
        "response_code": 200,
        "last_attempt_at": "2025-03-15T10:31:00Z",
        "created_at": "2025-03-15T10:30:00Z"
      }
    ]
  }
}

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