Authentication

In order to access the Rydoo API, follow these steps:

Steps to Access Rydoo API

  1. Generate client credentials by asking your Customer Success Manager or email [email protected] to enable API, and then generate client credentials as described in this help centre article.
    https://help.rydoo.com/hc/en-be/articles/8232712930460-Create-API-credentials
  2. Use the generated client credentials to request an access token using your API testing tool like Postman or Soap UI.
  3. Use the access token when making API calls. You can test this by executing the GET groups API call from your API testing tool like Postman or Soap UI. https://developers.rydoo.com/reference#v2groupsget-4

Requesting an Access Token
There are two ways to request an access token. The examples given are in Postman but you can use whichever API tool you wish. Most people will simply use Option 1 - standard OAuth 2.0 Authorisation.

Option 1 - Standard OAuth 2.0 Authentication
This it the standard method most people will use. In Postman there is an “authorisation” tab. This is used to get and access token.

2252

OAuth 2.0 Authentication with Postman

Option 2 - Use x-www-form-urlencoded
If, for whatever reason, standard OAuth 2.0 is not the best way for you to get and use your access token, you can go to the “Body” tab in Postman and set it up in the following way.

Warning
OAuth 2.0 uses industry protocols such as SSL to keep your tokens and data safe.
Its token-driven flow ensures minimal exposure of sensitive information and this happens mostly automatically.
While this option doesn’t adhere to the same standards, it can still be secure if caution is exercised. Be mindful of always using HTTPS and under what context you are sending data.

  • Select “x-www-form-urlencoded”
  • “KEY”: “grant_type” and “VALUE”: “client_credentials”
  • “KEY”: “client_id” and “VALUE”: the client ID you’ve generated from Step 2.
  • “KEY”: “client_secret” and “VALUE” : the client secret you’ve generated from Step 2.
  • “KEY” :“scope” and “VALUE”: add the appropriate scopes for your needs https://developers.rydoo.com/reference#scopes-1. If in doubt, you can use all the scopes listed.
  • At the top, set the API call type to “POST” and use the url: https://accounts.rydoo.com/connect/token
  • In the “Authorisation” tab, set the “Type” to “Inherit Auth from parent”
  • Click “Send”
  • The access token number will be sent in a response. You can use this token number for any following API calls.
    Note: make sure you change the “Body” type to “raw” and select the text type as “JSON” when you start making other API calls later!