# Create Account API Clarifications

**URL:** <https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981>\
**Category:** SHF Discussion and Questions\
**Tags:** apis, accounts, identity-security-cloud\
**Created:** [October 11, 2023, 3:33am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981 "2023-10-11T03:33:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![mingsiewang](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mingsiewang](https://developer.sailpoint.com/discuss/u/mingsiewang)\
**Post date:** [October 11, 2023, 3:33am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/1 "2023-10-11T03:33:43Z")

</div>

Hi, we have a requirement to create an account in SailPoint via API. When we use the create-account API, the task was successful, but the account was not reflected in IDN under the target source.

API: https://{tenant}.api.identitynow.com/v3/accounts  
Body: (attached screenshot)

Are there any documentations where we can see what to specify in the JSON body? We’ve reviewed the current document ([create-account | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/v3/create-account/)) but it only mentions to put in property values but did not specify what properties to include.

 ![jsonbody](https://global.discourse-cdn.com/sailpoint/original/2X/e/e3811dd96551e0863911729747d024cced8ae091.png)

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 6:24am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/2 "2023-10-11T06:24:01Z")

</div>

Hi Ang,  
Create - Account API only works for Delimited Application type. If you have a direct Connector then it does not work.

Could you please let us know what is your Connector Type ?

---

<div class="post-metadata">

**Author:** ![mingsiewang](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mingsiewang](https://developer.sailpoint.com/discuss/u/mingsiewang)\
**Post date:** [October 11, 2023, 7:07am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/3 "2023-10-11T07:07:39Z")

</div>

Hi Rakesh,

I’m using a Direct connector, seems like in this case create-account API wouldn’t work.

In that case, is there another way for me to create an account in the target source using the API for direct connectors?

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 8:39am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/4 "2023-10-11T08:39:38Z")

</div>

Hi Ang,

Use IdentityNow connector we can create account in target.

You can use Provisioning Policy.Attached is the policy for more details.

[https://developer.sailpoint.com/idn/docs/transforms/uides/transforms-in-provisioning-policies](https://developer.sailpoint.com/idn/docs/transforms/uides/transforms-in-provisioning-policies)

---

<div class="post-metadata">

**Author:** ![mingsiewang](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mingsiewang](https://developer.sailpoint.com/discuss/u/mingsiewang)\
**Post date:** [October 11, 2023, 9:59am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/5 "2023-10-11T09:59:59Z")

</div>

Hi Rakesh,

Do you mean that I can create account by using the create provision policy API and passing in a JSON with static values for this new account?

Because from what I understand, the api only created the policy (which is the template) and not the account itself.

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 11:22am UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/6 "2023-10-11T11:22:36Z")

</div>

Hi Ang,  
So you need to create the Provisioning Policy and then go in IdentityNow → Connection-\> Source → Open the Source and under that Create Account. The poliy will be visible there. Populate the values which you need to send to the target and go to Entitlements tabs mark any entitlement i.e group coming from AD as requestable. Go to Request Center → Request the Entitlement and after which IdentityNow will take care of creating the account based on the attributes you have populated in the Provisioning Policy.

Hope this helps. Please let us know if you need further clarification. I will also recoomend you to go through the follwing document and help understand how IdentityNow works.

> **[SailPoint Product Documentation](https://documentation.sailpoint.com)**
>
> SailPoint Product Documentation

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [October 11, 2023, 1:48pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/7 "2023-10-11T13:48:53Z")

</div>

> [@RAKGDS](#):
>
> Create - Account API only works for Delimited Application type. If you have a direct Connector then it does not work.

No document says that you can create only in Delimited application.

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 2:15pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/9 "2023-10-11T14:15:00Z")

</div>

Hey Krishna,  
So using create-account api we can directly call any source and create account in target system ? This will be very helpful api to directly create account in target without using connector which will solve most of the issues.

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [October 11, 2023, 2:37pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/10 "2023-10-11T14:37:42Z")

</div>

We need to create source of course. When you call create account API, you are invoking operation on the source rite by passing source ID. API document doesn’t says that it is limited to Delimited application. We should do more testing to confirm on this.

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 2:39pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/11 "2023-10-11T14:39:57Z")

</div>

Yeah that was my understanding that we create local accounts in IdentityNow rather than target and we have used this in our current Production environment as per recommendation from Sailpoint support.

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [October 11, 2023, 2:47pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/12 "2023-10-11T14:47:55Z")

</div>

Let’s see what SailPoint says on this, then probably we can ask for API document update, so that we can avoid these confusions.

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 2:58pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/13 "2023-10-11T14:58:25Z")

</div>

> [@Create Account API](https://developer.sailpoint.com/discuss/t/create-account-api/1522/2):
>
> Hi @sgeddam003, This isn’t documented very well, but the [accounts API](https://developer.sailpoint.com/idn/api/v3/Accounts) doesn’t provision accounts in the target source, nor does it create work items to manually do it. The accounts API will create an account directly in IDN, with a loose coupling to the sourceId that you provide in the body. This means the account will exist in IDN, but won’t show up in the target source. To track the status of the task ID that is returned, you can use the [task management](https://developer.sailpoint.com/idn/api/beta/get-task-status) API. The big caveat to using this A…

@colin_mckibben : Please correct us if our understanding is not correct

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [October 11, 2023, 3:41pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/14 "2023-10-11T15:41:59Z")

</div>

This post still applies. Create account API is detached from connector provisioning. If you run a connector aggregation, any accounts you create via API may be removed if they don’t exist on the source.

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 11, 2023, 5:16pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/15 "2023-10-11T17:16:50Z")

</div>

Thank you so much Colin for clarification

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 10, 2023, 5:17pm UTC](https://developer.sailpoint.com/discuss/t/create-account-api-clarifications/18981/16 "2023-12-10T17:17:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
