Need help in creating Certification Campaign using REST API

Hello @sailajaprathi,

According to the API docs for /beta/campaigns, only three fields are required: name, description, type. All of the other fields are optional. So at a bare minimum, you can send the following request body:

{
    "name": "Manager Review",
    "description": "A review of everyone’s access by their manager.",
    "type": "MANAGER"
}

There currently isn’t a public API to list or create campaign filters. In order to get a campaign filter ID, you will need to login to your IDN tenant and go to the campaign filters UI. Select the campaign filter you want to use and you can get the GUID from the URL. For example: https://{tenant}.identitynow.com/ui/admin#admin:cert:filters:fc95eb8c1ec021eef804abcf23590c09. You can take that GUID and use it in your request body.

{
    "name": "Manager Review",
    "description": "A review of everyone’s access by their manager.",
    "type": "MANAGER",
    "filter": {
        "id": "fc95eb8c1ec021eef804abcf23590c09",
        "type": "CAMPAIGN_FILTER"
    }
}

You must create a Campaign Filter in the IdentityNow Admin UI before you can use it. You can’t specify the filter rules directly via the API at this time.