The AdFlight API is organized around REST and returns JSON-encoded responses.
HTTP response codes are used to indicate if a request succeeded or failed.
Find your API's base URL here at the right.
|
Base URL
https://{yourname}.api.adflight.io
|
API Keys are used to authenticate requests. Add your key to each request as a header with the name X-ApiKey .
Keep your API key private as much as you do with passwords.
|
Authentication
curl https://{yourname}.api.adflight.io/...
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
|