Skip to main content

List Campaign Filters

GET 

https://sailpoint.api.identitynow.com/v2025/campaign-filters

Use this API to list all campaign filters. You can reduce scope with standard V3 query parameters.

Request

Query Parameters

    limit int32

    Possible values: <= 250

    Max number of results to return. See V3 API Standard Collection Parameters for more information.

    Default value: 250
    Example: 250
    start int32

    Start/Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.

    Default value: 0
    Example: 0
    includeSystemFilters boolean

    If this is true, the API includes system filters in the count and results. Otherwise it excludes them. If no value is provided, the default is true.

    Default value: true
    Example: true

Responses

List of campaign filter objects.

Schema
    items object[]

    List of campaign filters.

  • Array [
  • idstringrequired

    The unique ID of the campaign filter

    Example: 5ec18cef39020d6fd7a60ad3970aba61
    namestringrequired

    Campaign filter name.

    Example: Identity Attribute Campaign Filter
    descriptionstring

    Campaign filter description.

    Example: Campaign filter to certify data based on an identity attribute's specified property.
    ownerstringnullablerequired

    Owner of the filter. This field automatically populates at creation time with the current user.

    Example: SailPoint Support
    modestringrequired

    Mode/type of filter, either the INCLUSION or EXCLUSION type. The INCLUSION type includes the data in generated campaigns as per specified in the criteria, whereas the EXCLUSION type excludes the data in generated campaigns as per specified in criteria.

    Possible values: [INCLUSION, EXCLUSION]

    Example: INCLUSION
    criteriaList object[]

    List of criteria.

  • Array [
  • typestringrequired

    Type of the criteria in the filter. The COMPOSITE filter can contain multiple filters in an AND/OR relationship.

    Possible values: [COMPOSITE, ROLE, IDENTITY, IDENTITY_ATTRIBUTE, ENTITLEMENT, ACCESS_PROFILE, SOURCE, ACCOUNT, AGGREGATED_ENTITLEMENT, INVALID_CERTIFIABLE_ENTITY, INVALID_CERTIFIABLE_BUNDLE]

    Example: IDENTITY_ATTRIBUTE
    operationstringnullable

    Operation on a specific criteria

    Possible values: [EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, ENDS_WITH, AND, OR, null]

    Example: EQUALS
    propertystringnullablerequired

    Specified key from the type of criteria.

    Example: displayName
    valuestringnullablerequired

    Value for the specified key from the type of criteria.

    Example: Allie
    negateResultboolean

    If true, the filter will negate the result of the criteria.

    Default value: false
    Example: false
    shortCircuitboolean

    If true, the filter will short circuit the evaluation of the criteria.

    Default value: false
    Example: false
    recordChildMatchesboolean

    If true, the filter will record child matches for the criteria.

    Default value: false
    Example: false
    idstringnullable

    The unique ID of the criteria.

    Example: 5ec18cef39020d6fd7a60ad3970aba61
    suppressMatchedItemsboolean

    If this value is true, then matched items will not only be excluded from the campaign, they will also not have archived certification items created. Such items will not appear in the exclusion report.

    Default value: false
    Example: false
    childrenobject[]

    List of child criteria.

  • ]
  • isSystemFilterbooleanrequired

    If true, the filter is created by the system. If false, the filter is created by a user.

    Default value: false
    Example: false
  • ]
  • countinteger

    Number of filters returned.

    Example: 2

Authorization: oauth2

type: Personal Access Token
scopes: idn:campaign-filter-list:read
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v2025/campaign-filters"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v2025
Auth
Parameters
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!