Browse the available APIs
Take a look at our APIs to see what choices are available. Is there an API you can exploit in one of your applications? Use the supplied APIs to quickly construct a fully featured application.
Found an API? Sign up now to create an account and get started. It is free to join.
Register an application
Before you can use an API you have to register your application. When you register an application, the application is assigned a unique client ID and client secret. You must use the client ID when you call an API that requires you to identify your application by using a client ID, or a client ID and client secret. Check the API description for the details.
Select a plan
Finally, now that your application is registered, you need to subscribe to a plan. The plan determines the number of API calls that your application can make. Some plans are free and no approval is required, some require approval, and some require approval and a monthly subscription. Think about what you need and choose the most suitable plan.
In order to access the APIs you should get an access token and then pass it as Authorization header to the API calls.
- The first step before getting the access token is to call the Oauth Authorize url in order to get an authorization code.
- The above call redirects client to the authentication page where the user provides her user credentials(for testing purposes you can use the usernames: user1,user2 and the password: demo#@!). After a successfull authentication the client is redirected in the authorization page where the user is asked to approve that the client will access her private information.
- Ather the successull authentication and authorization an authorization code is posted back in the provided redirect_uri. The client should post this code to the Oauth Token url in order to get the access token. Below you can see an example curl call of the Oauth Token API.
curl --request POST \ --url https://api.eu-de.apiconnect.appdomain.cloud/coops-natech/dramapsd2/oauth2/token \ --header 'accept: application/json' \ --header 'content-type: application/x-www-form-urlencoded' \ --data 'grant_type=authorization_code&client_id=4040706496659456&code=tugoj&redirect_uri=http%3A%2F%2Fmunnebos.ci%2Fdomiw&username=Roger'
- If the above request is successfull, an access token is posted back in the redirect url. The client now is ready to call the protected APIs by providing the access token in the authorization Header of the request.
You can see full specification for the Oauth 2.0 authorization framework in the bellow link.
One Time Passwords For Sandbox
Every time a call requires an OTP for sandbox purposes you may use the code 123456.
All done! You are signed up, registered, and ready to go.