Gets the accounts
Details
Get Accounts API Call will provide you with a list of the clients you created through the Create an Account API Call
Requirements
To perform this API Call, you must provide a valid GRADIENT-TOKEN with a valid Vendor API Key and Partner API Key.
Sample Responses
200
With a valid GRADIENT-TOKEN and existing accounts, you will receive a 200 response and a list of accounts, and the accountId provided when you created the account.
[
{
"id": "1",
"name": "Sample Account",
"description": ""
}
]
401 - Unauthorized
If the GRADIENT-TOKEN is no longer valid due to an incorrect Partner API Key, you will receive a 401 Unauthorized error.
403 Forbidden
If Gradient detects an anomaly with your API Usage, you may encounter 403 errors. Please reach out to [email protected] if you believe this is happening in error.
429 Request limit reached (100 requests a second)
The Synthesize API is limited to 100 requests per second. If you are sending a lot of information, it is recommended to add pagination to ensure everything is received correctly.