# Get all accounts for all customers **GET /customers/accounts** Returns all accounts from the perspective of each customer. For instance, if one account has two customers, these are reflected as two separate items in the response array. Similarly, if one customer has multiple accounts, each account is reflected as a separate item in the response array. ## Servers - Public Sandbox: https://sandbox-api.canopyservicing.com (Public Sandbox) - Protected UAT Sandbox: https://uat-api.canopyservicing.com (Protected UAT Sandbox) - Production: https://api.canopyservicing.com (Production) ## Authentication methods - O auth2 ## Parameters ### Query parameters - **limit** (integer) The maximum number of customer accounts to be returned. Defaults to 30. - **starting_after** (string) Pass the value from the `paging` response body in your previous request. If not provided, the zero-indexed starting point will be used. Either starting_after or ending_before may be provided, but not both. - **ending_before** (string) Pass the value from the `paging` response body in your previous request. If not provided, the zero-indexed starting point will be used. Either starting_after or ending_before may be provided, but not both. - **search_parameters** (string) Currently, this API only supports searching by `name_first` or `name_last`. Based on the input search parameter, the top responses from our API search, up to or less than the provided `limit` will be returned. ## Responses ### 200 Array of Customers and their corresponding Accounts #### Body: application/json (object) - **results** (array[object]) An array of information for all customer-account correspondences within the requested range. - **paging** (object) Pagination Information. ### 401 Unauthorized. ### 403 Forbidden. ### 404 Unable to get customers ### 429 Too many requests. ### default Unexpected Error. [Powered by Bump.sh](https://bump.sh)