Please see this article for information on API authorization, testing endpoints, and how obtain your API key.
If you would like to programmatically retrieve the properties for a specific client campaign in a client accountId in your agency or white label account, you can leverage this 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/{accountId}/campaigns/{campaignId}
If you need to retrieve a list of client accounts via API to determine a client's accountId, please see our Agency - List Clients API.
If you need to retrieve a list of a client account's campaigns, please see our Agency - List Client Campaigns API.
The response will a select list of non-null campaign properties for the client campaign, as shown below:
{
"campaignId": 6214,
"campaignType": "Data Delivery",
"campaignStatus": "Active",
"campaignStatusId": 1,
"name": "Default Campaign",
"dataDeliveryPriorityId": 3,
"maxSendQuantity": 5000,
"maxDailySendQuantity": 100,
"resetSendQuantityDay": 28
}