# Monitoring API call

**URL:** <https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud, provisioning, connectors\
**Created:** [September 12, 2025, 8:45am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985 "2025-09-12T08:45:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcarelli](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@vcarelli](https://developer.sailpoint.com/discuss/u/vcarelli)\
**Post date:** [September 12, 2025, 8:45am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/1 "2025-09-12T08:45:53Z")

</div>

Hello everyone,

I’m wondering if there’s a way in Identity Security Cloud to notify someone via email that the account creation was unsuccessful if a provisioning operation performed with the “POST Create Account - v3//accounts” call results in a 400, 409, or 500 result from this API.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![nhassan](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nhassan/32/5835_2.png) [@nhassan](https://developer.sailpoint.com/discuss/u/nhassan)\
**Post date:** [September 12, 2025, 9:26am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/2 "2025-09-12T09:26:02Z")

</div>

Hi @vcarelli

Are you trying to monitor the API call results within a workflow, or are you tracking account creation when a direct connect source (e.g., AD) provisions the account using the ‘Create Account’ policy?

If it’s the latter, you can subscribe to a saved search following the instructions in this [Subscribing to Saved Searches](https://documentation.sailpoint.com/saas/help/search/saved-searches.html?h=saved#:~:text=select%2520Update.-,Subscribing%2520to%2520Saved%2520Searches,-You%2520can%2520configure). ISC can be configured to automatically send emails on a set schedule containing the results of the saved search query. You can customize the frequency of these emails and specify the recipients.

Search query example:  
`technicalName:"ACCOUNT_CREATE_FAILED" AND type:"PROVISIONING"`

If you are using a workflow to create accounts, you can use the ‘Compare Numbers’ operator to check the result returned by the API call, and then use the ‘Send Email’ action to notify you.

Hope this would help.

---

<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:** [September 12, 2025, 9:28am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/3 "2025-09-12T09:28:57Z")

</div>

You can use a Workflow with [Provisioning Completed](https://documentation.sailpoint.com/saas/help/workflows/workflow-triggers.html#provisioning-completed) Trigger to send real time failure notifications.

If it is ok to have consolidated failures, you can subscribe to search query as already mentioned by Noor in the above response.

---

<div class="post-metadata">

**Author:** ![vcarelli](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@vcarelli](https://developer.sailpoint.com/discuss/u/vcarelli)\
**Post date:** [September 12, 2025, 10:37am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/4 "2025-09-12T10:37:18Z")

</div>

Let me explain the context better.  
We have a source on IdentityNow, Flat File, which we populate with an API call when the customer needs to register a new account.  
Then it launches the creation API (which is proxied) and then the call. If it shows a 200 as successful creation on SailPoint, is it possible to monitor, or better yet, send an alert email, when the call returns an error of 400 or 500?

---

<div class="post-metadata">

**Author:** ![MattUribe](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/matturibe/32/20300_2.png) [@MattUribe](https://developer.sailpoint.com/discuss/u/MattUribe)\
**Post date:** [September 12, 2025, 10:45am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/5 "2025-09-12T10:45:01Z")

</div>

What platform is making the API call to /accounts to create the flat file accounts? It seems to me that it should have a way to evaluate the API response. If it really is just a fire and forget, then maybe it can call an external trigger on a workflow in ISC, passing the account data in the message payload, and then use the workflow to call the /accounts API. The workflow can evaluate the API response and follow a different path based on the status being `2 **` or `4** ` which could include sending an email.

---

<div class="post-metadata">

**Author:** ![vcarelli](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@vcarelli](https://developer.sailpoint.com/discuss/u/vcarelli)\
**Post date:** [September 12, 2025, 10:58am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/6 "2025-09-12T10:58:19Z")

</div>

The platform that makes the /accounts API calls is a custom application developed internally. This application integrates the SailPoint APIs and autonomously manages the account creation operations in a flat format.

---

<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:** [November 11, 2025, 10:58am UTC](https://developer.sailpoint.com/discuss/t/monitoring-api-call/178985/7 "2025-11-11T10:58:21Z")

</div>

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