FAQ

Why can't I view Products or APIs?

— It might be because you have not signed-up yet or you have not subscribed for any SAS APIs (Products)

 

Why do I need to sign-up before accessing SAS APIs?

— At the moment SAS don’t offer any public APIs. We offer APIs which are limited to our partners.

 

How can I start working with SAS APIs?

— The first step is to please contact your business contact at Scandinavian Airlines.

 

Where do I find my subscription key?

— Once you sign-up to SAS Developer Portal. Then, under profile section you can find your subscription key.

 

How will I get OAuth (Bearer) token?

— You can follow the guide “Obtain Obtain SAS Security Token” that you receive during onboarding process once you are in contact with someone at SAS.

 

What is client-Id and client-secret I got via email?

— client-Id and client-secret are used to generate OAuth token required as Authorization header for SAS APIs

 

Why do I get error: Unauthorized. Access token is missing or invalid?

— Most likely you either missed to provide OAuth token or its invalid/expired.

 

What is the default expiry for OAuth token?

— Its generally valid for 1 hour. But you get the expiry (in seconds) along-with the token.

 

Can I re-use the OAuth token?

— Yes, and that is the preferred way to re-use the OAuth token as many as times possible until its expired.

 

Can I sign-up using my individual account?

— Yes, you can use your individual AAD account.

 

Do we need to have a team account to sign-up?

— It is not absolute requirement. But it would be better if you use team or application account.

 

Where can I get sample request and response details of APIs?

— You can get it under each published APIs.

 

Why did I got email with subject “Client Secret expiration notification”?

— Its because the existing client-secret assigned to your app is going to expire soon and you have to get it renewed following the guides attached to that email.

 

We have never renewed our client-secret before. So, why now?

— This may be because, you are a fairly new partner and your first client-secret not expired yet.

Generally, expiry for a client-secret is 1 year.

 

Will our application (using old set of client-id and client-secret) stop working?

— No, your application can still continue to use the existing pair of client-id and client-secret until it expires.

 

Once we generate (add) new secret, will the old client-secret stop working?

— No, your old client-secret will continue to work until it expires.