# REST API -- Launch Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq, workflows\
**Created:** [April 12, 2026, 7:43am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303 "2026-04-12T07:43:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkatesh0510](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Venkatesh0510](https://developer.sailpoint.com/discuss/u/Venkatesh0510)\
**Post date:** [April 12, 2026, 7:43am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/1 "2026-04-12T07:43:04Z")

</div>

Hi team,

I am using REST API to launch workflow as below.

[http://abc.com/identityiq/rest/workflows/TestWorkflow/launch](http://abc.com/identityiq/rest/workflows/TestWorkflow/launch)

Actually, we are getting response in JSON format for 200 Success.

And we are getting response in Text format for Error(401,403,405..etc)

How we can modify this text response in JSON format.

Any suggestions, please suggest.

---

<div class="post-metadata">

**Author:** ![kumarSinghM](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kumarSinghM](https://developer.sailpoint.com/discuss/u/kumarSinghM)\
**Post date:** [April 12, 2026, 11:51am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/2 "2026-04-12T11:51:04Z")

</div>

@Venkatesh0510

Please follow this to verify if you are sending the correct Body to the API:

[launch-workflow | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/iiq/launch-workflow/)

---

<div class="post-metadata">

**Author:** ![Venkatesh0510](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Venkatesh0510](https://developer.sailpoint.com/discuss/u/Venkatesh0510)\
**Post date:** [April 12, 2026, 3:26pm UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/3 "2026-04-12T15:26:27Z")

</div>

For your info, i am using REST api not SCIM API

I need modify launch workflow response in JSON when authorization failed.

---

<div class="post-metadata">

**Author:** ![mandarsane](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/mandarsane/32/35650_2.png) [@mandarsane](https://developer.sailpoint.com/discuss/u/mandarsane)\
**Post date:** [April 13, 2026, 5:43am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/4 "2026-04-13T05:43:28Z")

</div>

Please check this link. might be helpful

[create-external-execute-workflow | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/v2026/create-external-execute-workflow)

---

<div class="post-metadata">

**Author:** ![Venkatesh0510](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Venkatesh0510](https://developer.sailpoint.com/discuss/u/Venkatesh0510)\
**Post date:** [April 13, 2026, 2:22pm UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/5 "2026-04-13T14:22:32Z")

</div>

Hi Mandar,

Thanks for the response. I don’t think it will work.

I am using default OOTB REST API of sailpoint IIQ.

I need to change the response text format to JSON when it is throwing error like 401, 403

---

<div class="post-metadata">

**Author:** ![Venkatesh0510](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Venkatesh0510](https://developer.sailpoint.com/discuss/u/Venkatesh0510)\
**Post date:** [April 14, 2026, 10:32am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/6 "2026-04-14T10:32:56Z")

</div>

Hi @Mandar,  
Fyi.

This Content-Type as mentioned in the screenshot below that i need to change it to application/json format

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/2/5/256663741c3b11d8edf33c9468e9d2b0ee4a885c.png)

---

<div class="post-metadata">

**Author:** ![mandarsane](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/mandarsane/32/35650_2.png) [@mandarsane](https://developer.sailpoint.com/discuss/u/mandarsane)\
**Post date:** [April 14, 2026, 11:47am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/7 "2026-04-14T11:47:30Z")

</div>

Hi @Venkatesh0510 ,

Thank you for highlighting this

---

<div class="post-metadata">

**Author:** ![neel193](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/neel193/32/34038_2.png) [@neel193](https://developer.sailpoint.com/discuss/u/neel193)\
**Post date:** [April 15, 2026, 10:57am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/8 "2026-04-15T10:57:23Z")

</div>

@Venkatesh0510 Is it possible for you to extract and share the request and response for both cases(success/error)?

---

<div class="post-metadata">

**Author:** ![Venkatesh0510](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Venkatesh0510](https://developer.sailpoint.com/discuss/u/Venkatesh0510)\
**Post date:** [April 20, 2026, 7:43am UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/9 "2026-04-20T07:43:04Z")

</div>

@neel193 please find the screenshots below.

 ![200](https://global.discourse-cdn.com/sailpoint/original/3X/8/e/8eb327969f2ffe9f5a3ed1b1228b1fc9a52252cd.png)

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/2/5/256663741c3b11d8edf33c9468e9d2b0ee4a885c.png)

---

<div class="post-metadata">

**Author:** ![neel193](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/neel193/32/34038_2.png) [@neel193](https://developer.sailpoint.com/discuss/u/neel193)\
**Post date:** [April 21, 2026, 6:08pm UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/10 "2026-04-21T18:08:52Z")

</div>

@Venkatesh0510 Authentication is intercepted at the security layer before even reaching to IIQ’s rest resource. That’s why response is always test, however if any error is returned through the resource, that should be in json.

Are you seeing this behavior specifically on 401s, or does it also happen on other errors within your workflow ?

---

<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:** [June 20, 2026, 6:09pm UTC](https://developer.sailpoint.com/discuss/t/rest-api-launch-workflow/202303/11 "2026-06-20T18:09:14Z")

</div>

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