Skip to content

Instantly share code, notes, and snippets.

@danlopez
Created March 14, 2016 14:19
Show Gist options
  • Save danlopez/a2b378306c8b10e4c376 to your computer and use it in GitHub Desktop.
Save danlopez/a2b378306c8b10e4c376 to your computer and use it in GitHub Desktop.
/*
POST /oauth/access-token
*/
// Request Parameters
{
"clientId": "asdf123", // String
"clientSecret": "asdf123", // String
"username": "AtiMachineUser", // String; Org Admin Username within ApprenNet
"password": "Password123" // String; Org Admin Password
}
// Response
{
"accessToken": "asdf1234" // String. Expires in XX hours
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment