diff --git a/README.md b/README.md index 4100fad..1adf57c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ KeyHacks shows ways in which particular API keys found on a Bug Bounty Program c # Table of Contents -- [Algolia API key](#Algolia-API-key) +- [Algolia API Key](#Algolia-API-key) +- [Amplitude API Keys](#Amplitude-API-Keys) - [Asana Access token](#Asana-Access-Token) - [AWS Access Key ID and Secret](#AWS-Access-Key-ID-and-Secret) - [Azure Application Insights APP ID and API Key](#Azure-Application-Insights-APP-ID-and-API-Key) @@ -41,8 +42,9 @@ KeyHacks shows ways in which particular API keys found on a Bug Bounty Program c - [Instagram Basic Display API](#Instagram-Basic-Display-API-Access-Token) - [Instagram Graph API](#Instagram-Graph-Api-Access-Token) - [Ipstack API Key](#Ipstack-API-Key) -- [JumpCloud API key](#JumpCloud-API-Key) -- [Keen.io API key](#Keenio-API-Key) +- [Iterable API Key](#Iterable-API-Key) +- [JumpCloud API Key](#JumpCloud-API-Key) +- [Keen.io API Key](#Keenio-API-Key) - [Loqate API Key](#Loqate-API-key) - [MailChimp API Key](#MailChimp-API-Key) - [MailGun Private Key](#MailGun-Private-Key) @@ -264,9 +266,23 @@ This requires the API key in 'user@yourcompany.com', pass in 'test' and 'domain. ``` ## [JumpCloud API Key](https://docs.jumpcloud.com/1.0/authentication-and-authorization/authentication-and-authorization-overview) + +#### [v1](https://docs.jumpcloud.com/1.0/systemusers) ``` List systems: curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/systems" +curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/systemusers" +curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/applications" +``` + +#### [v2](https://docs.jumpcloud.com/2.0/systems/list-the-associations-of-a-system) + +``` +List systems: +curl -X GET https://console.jumpcloud.com/api/v2/systems/{System_ID}/memberof \ + -H 'Accept: application/json' \ + -H 'Content-Type: application/json' \ + -H 'x-api-key: {API_KEY}' ``` ## Microsoft Azure Tenant @@ -669,6 +685,20 @@ Fetch content details for a YouTube channel (The channelId in this case points t curl -iLk 'https://www.googleapis.com/youtube/v3/activities?part=contentDetails&maxResults=25&channelId=UC-lHJZR3Gqxm24_Vd_AJ5Yw&key={KEY_HERE}' ``` +## [Iterable API Key](https://api.iterable.com/api/docs) +Export campaign analytics data in JSON format, one entry per line. Use of either 'range' or 'startDateTime' and 'endDateTime' is required. + +``` +curl -H "Api_Key: {API_KEY}" https://api.iterable.com/api/export/data.json?dataTypeName=emailSend&range=Today&onlyFields=List.empty +``` +## [Amplitude API Keys](https://help.amplitude.com/hc/en-us/articles/205406637-Export-API-Export-Your-Project-s-Event-Data) +The response is a zipped archive of JSON files, with potentially multiple files per hour. Note that events prior to 2014-11-12 will be grouped by day instead of by the hour. If you request data for a time range during which no data has been collected for the project, then you will receive a 404 response from the server. + +``` +curl -u API_Key:Secret_Key 'https://amplitude.com/api/2/export?start=20200201T5&end=20210203T20' >> yourfilename.zip +``` + + # Contributing I welcome contributions from the public.