# IDN "Get Source Schema by ID" API

**URL:** <https://developer.sailpoint.com/discuss/t/idn-get-source-schema-by-id-api/8172>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security, apis\
**Created:** [February 10, 2023, 9:26pm UTC](https://developer.sailpoint.com/discuss/t/idn-get-source-schema-by-id-api/8172 "2023-02-10T21:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCF174](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@DCF174](https://developer.sailpoint.com/discuss/u/DCF174)\
**Post date:** [February 10, 2023, 9:26pm UTC](https://developer.sailpoint.com/discuss/t/idn-get-source-schema-by-id-api/8172/1 "2023-02-10T21:26:43Z")

</div>

Hello, I’ve been troubleshooting an issue with an IDN source. I would like to supply support with the schema for entitlements, accounts, and roles. When I used the `GET source schema by ID` API in _any_ collection, I was receiving a syntactical error.

If I use the documentation to reproduce the error in a CURL command, I get the same error.

If I update the CURL command to remove the colons from the `<schemaID>` and `<sourceID>` sections of the URI, I get the desired result.

**Fails:**  
`curl -L -X GET 'https://<tenant>.api.identitynow.com/v3/sources/:<sourceId>/schemas/:<schemaId>'`  
**Works:**  
`curl -L -X GET 'https://<tenant>.api.identitynow.com/v3/sources/<sourceId>/schemas/<schemaId>'`

I have what I need, but I thought I would report the behavior.

---

<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:** [July 19, 2023, 2:24pm UTC](https://developer.sailpoint.com/discuss/t/idn-get-source-schema-by-id-api/8172/2 "2023-07-19T14:24:18Z")

</div>

Closed on July 19, 2023, 2:24pm UTC


