> ## Documentation Index
> Fetch the complete documentation index at: https://docs.transparencyhubnetwork.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get fundraising campaign

> One campaign.

One campaign, with **`total_raised`** (the sum of its completed donations) and **`donation_count`** (how many there have been).

**Required scope:** `fundraising:read`

```json 200 theme={null}
{
  "status": "success",
  "data": {
    "id": 2,
    "name": "Library fund",
    "display_name": "Build the Library",
    "summary": "Help us stock the new library",
    "status": "active",
    "image": null,
    "logo": null,
    "allowed_amounts": [
      5000,
      10000,
      25000
    ],
    "expected_amount": 2000000.0,
    "total_raised": 150.0,
    "donation_count": 3,
    "start_date": "2026-06-01T00:00:00Z",
    "end_date": "2026-12-31T00:00:00Z",
    "createddate": "2026-05-20T00:00:00Z",
    "lastmodifieddate": null
  }
}
```


## OpenAPI

````yaml GET /v1/fundraising/campaigns/{campaign_id}
openapi: 3.0.3
info:
  title: Transparency Hub Public API
  version: 1.7.0
  description: Key-authenticated REST API for association and chapter integrations.
servers:
  - url: https://api.transparencyhubnetwork.ai/api
  - url: https://testapi.transparencyhubnetwork.ai/api
    description: Test
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/fundraising/campaigns/{campaign_id}:
    get:
      summary: Get fundraising campaign
      description: Requires scope `fundraising:read`.
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: integer
        - $ref: '#/components/parameters/chapterId'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  data:
                    $ref: '#/components/schemas/FundraisingCampaign'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    chapterId:
      name: chapter_id
      in: query
      schema:
        type: integer
      description: >-
        Required for association-wide keys; must match the key's chapter for
        chapter-bound keys.
  schemas:
    FundraisingCampaign:
      type: object
      properties:
        id:
          type: integer
          nullable: true
        name:
          type: string
          nullable: true
        display_name:
          type: string
          nullable: true
        summary:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        image:
          type: string
          nullable: true
        logo:
          type: string
          nullable: true
        allowed_amounts:
          nullable: true
        expected_amount:
          type: number
          nullable: true
        start_date:
          type: string
          format: date-time
          nullable: true
        end_date:
          type: string
          format: date-time
          nullable: true
        createddate:
          type: string
          format: date-time
          nullable: true
        lastmodifieddate:
          type: string
          format: date-time
          nullable: true
        total_raised:
          type: number
          description: Sum of completed donations.
        donation_count:
          type: integer
          description: Number of completed donations.
    Error:
      type: object
      required:
        - status
        - code
        - message
      properties:
        status:
          type: string
          enum:
            - error
        code:
          type: string
        message:
          type: string
        details:
          type: object
  responses:
    ValidationError:
      description: validation_error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: insufficient_scope or chapter_forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: not_found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: rate_limited; see Retry-After
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.