{"authentication":{"grant_type":"client_credentials","note":"The token is valid for one hour; send it as 'Authorization: Bearer <token>'.","token_type":"Bearer","token_url":"https://reporting.seedtag.com/oauth/token"},"base_url":"https://reporting.seedtag.com","endpoints":[{"method":"GET","path":"/","token_required":false,"url":"https://reporting.seedtag.com/"},{"method":"GET","path":"/reporting/v1","token_required":false,"url":"https://reporting.seedtag.com/reporting/v1"},{"method":"GET","path":"/reporting/v1/openapi.json","token_required":false,"url":"https://reporting.seedtag.com/reporting/v1/openapi.json"},{"method":"GET","path":"/reporting/v1/context","token_required":true,"url":"https://reporting.seedtag.com/reporting/v1/context"},{"method":"GET","path":"/reporting/v1/fields","token_required":true,"url":"https://reporting.seedtag.com/reporting/v1/fields"},{"method":"GET","path":"/reporting/v1/campaigns","token_required":true,"url":"https://reporting.seedtag.com/reporting/v1/campaigns"},{"method":"GET","path":"/reporting/v1/availability","token_required":true,"url":"https://reporting.seedtag.com/reporting/v1/availability"},{"method":"POST","path":"/reporting/v1/delivery:query","token_required":true,"url":"https://reporting.seedtag.com/reporting/v1/delivery:query"}],"how_to":[{"curl":"curl -s -X POST 'https://reporting.seedtag.com/oauth/token' -d grant_type=client_credentials -d client_id=\"$CLIENT_ID\" -d client_secret=\"$CLIENT_SECRET\"","step":1,"title":"Get a token (the response holds access_token)"},{"curl":"curl -s 'https://reporting.seedtag.com/reporting/v1/context' -H \"Authorization: Bearer $TOKEN\"","step":2,"title":"Check what the token allows"},{"curl":"curl -s -X POST 'https://reporting.seedtag.com/reporting/v1/delivery:query' -H \"Authorization: Bearer $TOKEN\" -H 'Content-Type: application/json' -d '{\"dimensions\": [\"date\", \"campaign_id\"], \"metrics\": [\"impressions\", \"clicks\"], \"date_range\": {\"relative\": \"last_7_days\"}, \"currency\": \"EUR\"}'","step":3,"title":"Query delivery"}],"name":"Seedtag Reporting API v1","openapi":"https://reporting.seedtag.com/reporting/v1/openapi.json"}
