Fetch Accounts
Accounts
Fetch Accounts
Retrieve a list of accounts with pagination and optional filtering.
GET
Fetch Accounts
Documentation Index
Fetch the complete documentation index at: https://docs.getcarbon.co/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint retrieves a list of accounts with pagination. It fetches a specified number of accounts per page, as per the providedpage and limit parameters. You can also filter results by account_number or account_name.
Request
Method:GETURL:
/v1/accounts
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
page | Query | integer | No | Page number for pagination. |
limit | Query | integer | No | Number of accounts per page. |
account_number | Query | string | No | Filter accounts by a specific account number. |
account_name | Query | string | No | Filter accounts by account name (partial match). |
customer_id | Query | string | No | Filter accounts belonging to a specific customer. |
Response
Status Code:200 OKContent-Type:
application/json
Example Response
Authorizations
Provide your API key in the 'apikey' header.
Headers
Query Parameters
Filter accounts by a specific account number.
Filter accounts by account name (partial match supported).
Filter accounts belonging to a specific customer.
Response
200 - application/json
OK
The response is of type object.