Skip to main content
GET
/
api
/
v3
/
campaigns
Get Campaigns
curl --request GET \
  --url https://server.stage.overflow.co/api/v3/campaigns \
  --header 'x-client-id: <api-key>'
{
  "data": [
    {
      "id": "7710f34fd5061afeec3eab59",
      "archivedAt": "2025-01-01T00:00:00.000Z",
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-01T00:00:00.000Z",
      "name": "Builders Fundraiser",
      "startDate": "2025-01-01T00:00:00.000Z",
      "endDate": "2025-12-01T00:00:00.000Z",
      "status": "ACTIVE",
      "displayOrder": 1,
      "isSubcampaign": false,
      "hideFromDonors": false,
      "parentCampaigns": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "subcampaigns": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "applyToAllCampaigns": true,
      "totalContributionCount": 100,
      "totalContributionValue": 1000,
      "uniqueDonorCount": 100
    }
  ],
  "totalCount": 100
}

Authorizations

x-client-id
string
header
required

Client ID for API authentication

Query Parameters

limit
number
default:25

The number of campaigns to return.

Required range: 1 <= x <= 100
page
number
default:1

The page number of the campaigns to return.

Required range: x >= 1
sortBy
enum<string>
default:startDate

The field to sort the campaigns by.

Available options:
endDate,
name,
startDate,
displayOrder,
totalContributionCount,
totalContributionValue,
uniqueDonorCount
Example:

"startDate"

sortDirection
enum<string>
default:DESC

The direction to sort the campaigns by.

Available options:
ASC,
DESC
Example:

"DESC"

isSubcampaign
enum<string>
default:false

Whether to return subcampaigns or campaigns. If true, returns subcampaigns, otherwise returns campaigns

Available options:
true,
false
Example:

false

parentCampaignId
string

The id of the parent campaign to return subcampaigns for.

excludeInactive

Whether to exclude inactive campaigns.

Search by campaign name.

Example:

"Summer Camp"

Response

200 - application/json
data
object[]
required

List of campaigns.

totalCount
number
required

Total number of campaigns matching the filters.

Example:

100