API requests should be POST requests with the following components:
- Make requests to the appropriate url at
https://{server}-api.affluent.io
- The {server} placeholder should be substituted with the subdomain of the URL you use to access the Affluent dashboard. For instance, if you log in at "dundermifflin.affluent.io" then you should replace {server} with "dundermifflin"
- Add your API key in a query parameter named
apiKey
. Your API key will be emailed to you upon request. In our next release, creating/refreshing/deleting API keys in the UI will be supported. - Set the
Content-Type
header toapplication/json
- Include a JSON body with the request parameters. (See Samples for an example)