Skip to main content

Agency - List Client Accounts

API to retrieve a list of clients in an agency or white label account

Updated over a week ago

​Please see this article for information on API authorization, testing endpoints, and how obtain your API key.

If you would like to programmatically retrieve a list of the clients that belong to your agency or white label account, you can leverage our agency client API endpoint to achieve this.

The call to this endpoint must be an HTTP GET to: https://api.leadpost.com/api/v1.0/agency/clients


This API endpoint retrieves a list of all client accounts belonging to your agency or white label account. There are no input parameters and the response will return a list of account ids and client names in agency account, as shown below:

Sample API Response

[
{
"accountId": 31949,
"clientName": "Your B2C Client Account"
},
{
"accountId": 31950,
"clientName": "Your B2B Client Account"
}
]

Did this answer your question?