The Affluent Agency API allows you to query your data to obtain standardized data from any number of brands and platforms. The API is organized around REST. It has predictable resource-oriented URLs, accepts JSON request bodies via POST requests, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
The API currently has two endpoints:
The Actions endpoint allows you to pull a list of every unique commissionable action (e.g. sales, leads, bonuses, etc) with all associated data Affluent has on that transaction, including SKU data. Importantly, if you're maintaining your own data store, this API allows you to pull actions based on the last time they were modified so that you do not need to perform historical data pulls in order to update pending transactions.
The Report endpoint allows you to query data in a completely customizable format - think of Custom Reports in the Affluent UI. While common use cases might include pulling revenue, commission, and clicks by date, publisher, or brand, you can create literally any report using this endpoint.
Responses are limited to 60 per minute.