Skip to main content
POST
/
api
/
Campaign
/
Query
Query Campaigns
curl --request POST \
  --url https://api.virtuoussoftware.com/api/Campaign/Query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "groups": [
    {
      "conditions": [
        {
          "parameter": "<string>",
          "operator": "<string>",
          "value": "<string>",
          "secondaryValue": "<string>",
          "values": [
            "<string>",
            "<string>"
          ]
        },
        {
          "parameter": "<string>",
          "operator": "<string>",
          "value": "<string>",
          "secondaryValue": "<string>",
          "values": [
            "<string>",
            "<string>"
          ]
        }
      ]
    },
    {
      "conditions": [
        {
          "parameter": "<string>",
          "operator": "<string>",
          "value": "<string>",
          "secondaryValue": "<string>",
          "values": [
            "<string>",
            "<string>"
          ]
        },
        {
          "parameter": "<string>",
          "operator": "<string>",
          "value": "<string>",
          "secondaryValue": "<string>",
          "values": [
            "<string>",
            "<string>"
          ]
        }
      ]
    }
  ],
  "sortBy": "<string>",
  "descending": "<boolean>"
}
'
{
  "list": [
    {
      "campaignId": "<integer>",
      "name": "<string>",
      "startDateTimeUtc": "<dateTime>",
      "endDateTimeUtc": "<dateTime>",
      "givingGoal": "<double>",
      "newGiverGoal": "<integer>",
      "totalGiftGoal": "<integer>",
      "isArchived": "<boolean>",
      "createDateTimeUtc": "<dateTime>",
      "createdByUser": "<string>",
      "modifiedDateTimeUtc": "<dateTime>",
      "modifiedByUser": "<string>"
    },
    {
      "campaignId": "<integer>",
      "name": "<string>",
      "startDateTimeUtc": "<dateTime>",
      "endDateTimeUtc": "<dateTime>",
      "givingGoal": "<double>",
      "newGiverGoal": "<integer>",
      "totalGiftGoal": "<integer>",
      "isArchived": "<boolean>",
      "createDateTimeUtc": "<dateTime>",
      "createdByUser": "<string>",
      "modifiedDateTimeUtc": "<dateTime>",
      "modifiedByUser": "<string>"
    }
  ],
  "total": "<integer>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

skip
string

The number of records to skip. Default = 0.

take
string

The number of records to take. Default = 10. Max is 1000.

Body

application/json
groups
object[]
sortBy
string
descending
string

Response

OK

list
object[]
total
string
Last modified on June 5, 2026