Skip to main content

Create source app

POST 

https://sailpoint.api.identitynow.com/v2025/source-apps

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

This endpoint creates a source app using the given source app payload

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Bodyrequired

    namestringrequired

    The source app name

    Example: my app
    descriptionstringrequired

    The description of the source app

    Example: the source app for engineers
    matchAllAccountsboolean

    True if the source app match all accounts

    Default value: false
    Example: true
    accountSource objectrequired
    idstringrequired

    The source ID

    Example: 2c9180827ca885d7017ca8ce28a000eb
    typestring

    The source type, will always be "SOURCE"

    Example: SOURCE
    namestring

    The source name

    Example: ODS-AD-Source

Responses

Responds with the source app as created.

Schema
    idstring

    The source app id

    Example: 2c91808874ff91550175097daaec161c
    cloudAppIdstring

    The deprecated source app id

    Example: 9854520
    namestring

    The source app name

    Example: my app
    createddate-time

    Time when the source app was created

    Example: 2020-10-08T18:33:52.029Z
    modifieddate-time

    Time when the source app was last modified

    Example: 2020-10-08T18:33:52.029Z
    enabledboolean

    True if the source app is enabled

    Default value: false
    Example: true
    provisionRequestEnabledboolean

    True if the source app is provision request enabled

    Default value: false
    Example: true
    descriptionstring

    The description of the source app

    Example: the source app for engineers
    matchAllAccountsboolean

    True if the source app match all accounts

    Default value: false
    Example: true
    appCenterEnabledboolean

    True if the source app is shown in the app center

    Default value: true
    Example: true
    accountSource objectnullable
    idstring

    The source ID

    Example: 2c9180827ca885d7017ca8ce28a000eb
    typestring

    The source type, will always be "SOURCE"

    Example: SOURCE
    namestring

    The source name

    Example: ODS-AD-Source
    useForPasswordManagementboolean

    If the source is used for password management

    Default value: false
    Example: ture
    passwordPolicies object[]nullable

    The password policies for the source

  • Array [
  • typestring

    An enumeration of the types of DTOs supported within the IdentityNow infrastructure.

    Possible values: [ACCOUNT_CORRELATION_CONFIG, ACCESS_PROFILE, ACCESS_REQUEST_APPROVAL, ACCOUNT, APPLICATION, CAMPAIGN, CAMPAIGN_FILTER, CERTIFICATION, CLUSTER, CONNECTOR_SCHEMA, ENTITLEMENT, GOVERNANCE_GROUP, IDENTITY, IDENTITY_PROFILE, IDENTITY_REQUEST, MACHINE_IDENTITY, LIFECYCLE_STATE, PASSWORD_POLICY, ROLE, RULE, SOD_POLICY, SOURCE, TAG, TAG_CATEGORY, TASK_RESULT, REPORT_RESULT, SOD_VIOLATION, ACCOUNT_ACTIVITY, WORKGROUP]

    Example: IDENTITY
    idstring

    ID of the object to which this reference applies

    Example: 2c91808568c529c60168cca6f90c1313
    namestring

    Human-readable display name of the object to which this reference applies

    Example: William Wilson
  • ]
  • owner objectnullable

    The owner of source app

    typestring

    An enumeration of the types of DTOs supported within the IdentityNow infrastructure.

    Possible values: [ACCOUNT_CORRELATION_CONFIG, ACCESS_PROFILE, ACCESS_REQUEST_APPROVAL, ACCOUNT, APPLICATION, CAMPAIGN, CAMPAIGN_FILTER, CERTIFICATION, CLUSTER, CONNECTOR_SCHEMA, ENTITLEMENT, GOVERNANCE_GROUP, IDENTITY, IDENTITY_PROFILE, IDENTITY_REQUEST, MACHINE_IDENTITY, LIFECYCLE_STATE, PASSWORD_POLICY, ROLE, RULE, SOD_POLICY, SOURCE, TAG, TAG_CATEGORY, TASK_RESULT, REPORT_RESULT, SOD_VIOLATION, ACCOUNT_ACTIVITY, WORKGROUP]

    Example: IDENTITY
    idstring

    ID of the object to which this reference applies

    Example: 2c91808568c529c60168cca6f90c1313
    namestring

    Human-readable display name of the object to which this reference applies

    Example: William Wilson

Authorization: oauth2

type: Personal Access Token
scopes: idn:app-roles:manage
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2025/source-apps"
method := "POST"

payload := strings.NewReader(`{
"name": "my app",
"description": "the source app for engineers",
"matchAllAccounts": true,
"accountSource": {
"id": "2c9180827ca885d7017ca8ce28a000eb",
"type": "SOURCE",
"name": "ODS-AD-Source"
}
}`)

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

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
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
— headerrequired
Body required
{
  "name": "my app",
  "description": "the source app for engineers",
  "matchAllAccounts": true,
  "accountSource": {
    "id": "2c9180827ca885d7017ca8ce28a000eb",
    "type": "SOURCE",
    "name": "ODS-AD-Source"
  }
}
ResponseClear

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