Access tokens

 

Endpoints in our Media API requires authentication. To access the Media API , you must do the following:

  • Get your client credentials (Client ID and Client Secret).

  • Retrieve your access token.

 

In this article we will guide you through how to get your client credentials. For further information on how to retrieve your access token, see this article in our API Hub: https://api.ntb.no/portal/getting_started

 

Create client credentials for Mediebank

To generate the credentials needed to access content from your Mediebank, you must do the following:

  • Log in to the Mediebank

  • Go to Organization settings –> API Clients

  • Select Create API Client

  • Add a description

  • Save your client id and client secret

 

You need to be an administrator or higher in the Mediebank in order to generate access tokens.

 

Create client credentials for NTB (NTB Bilder og Video)

 

If you need an NTB account or don’t have the permission to generate credentials in the API Hub, you may contact NTB Customer Support: https://www.ntb.no/kontakt

 

Create client credentials for TT (TT Bild)

 

If you need an NTB account or don’t have the permission to generate credentials, you may contact TT Customer Support: https://tt.se/om/kontakt