# POST /api/source/getAccounts

**URL:** <https://developer.sailpoint.com/discuss/t/post-api-source-getaccounts/20530>\
**Category:** Non-Public API Deprecations\
**Tags:** deprecated\
**Created:** [November 6, 2023, 6:45pm UTC](https://developer.sailpoint.com/discuss/t/post-api-source-getaccounts/20530 "2023-11-06T18:45:09Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [November 6, 2023, 6:45pm UTC](https://developer.sailpoint.com/discuss/t/post-api-source-getaccounts/20530/1 "2023-11-06T18:45:09Z")

</div>

Replaced by

> **[list-accounts | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/v3/list-accounts)**
>
> Accounts List

Specifically, you can use the filter parameter `sourceId` to return accounts for a single source.

GET `https://sailpoint.api.identitynow.com/v3/accounts?filters=sourceId eq "2c9180858082150f0180893dbaf44201"`

This API will return up to 250 accounts per API request. You will need to use pagination to return all accounts for a source. This will be easier to do if you write a script in your favorite programing language to paginate over the entire collection of accounts.

> **[Standard Collection Parameters | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results)**
>
> Many endpoints in the IdentityNow API support a generic syntax for paginating, filtering and sorting the results.
