Step 1: Add a new user with developer access
Login to SkyKick with an Administrator account.
On the left-hand navigation, select Admin > Manage Users
Click Add New User at the bottom of the page
Fill out the appropriate user information and check the Developer Access checkbox
Click Submit
You can now login to
developers.skykick.com
using the credentials entered in Step 4.
Step 2: Access API keys
On the left-hand navigation, select Admin > User Profile
Here you will see a new section titled Developer API Access. It will contain all of the information needed to connect to Partner Integration API and make calls.
Click the Show link on any of the subscriptions listed and the subscription key will be displayed as shown below for the Partner Subscription.
Step 3: Request a token
POST https://apis.skykick.com/auth/token
Headers
BasicAuth using name={ClientId} and password={Secret} formatted as "name:password" and base64-encoded.
Ocp-Apim-Subscription-Key: {subscription key}
Authorization: {name:password}
Body
x-www-form-urlencoded
Valid scopes: Partner, Distributor
grant_type=client_credentials
scope=Partner
Sample
POST https://apis.skykick.com/auth/token HTTP/1.1
Host: apis.skykick.com
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
Authorization: Basic ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&scope=Partner
Step 4: Call the API
GET https://apis.skykick.com/whoami
Headers
Ocp-Apim-Subscription-Key: {subscription key}
Authorization: {access token}
Sample
GET https://apis.skykick.com/whoami HTTP/1.1
Host: apis.skykick.com
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGci...