cancel
Showing results for 
Search instead for 
Did you mean: 

How to make an API call to Ruckus One

MA
RUCKUS Team Member

 

  • Ruckus One uses JSON Web Tokens (JWT) to secure all endpoints.
  • POST method is used to obtain a jwt.
  • The API response to POST call includes tenantId and token.
  • Token is valid for 60 minutes.

POSTMAN:

 

  1. Select the method as POST.
  2. Enter the API host url for your region.
  3. In the Body field- select raw and enter the payload.
  4. Select format as JSON.
  5. Click on Send button.

MA_2-1696592577255.png

The response should be 200 ok and provides tenantId and jwt information as shown below.

 

MA_6-1696592620735.png

Now Subsequent API calls must include JWT obtained as the Bearer token authorization.

Testing an API call:

  1. Enter the url as “https://api.eu.ruckus.cloud/api/tenant/{tenantId}/venue”
  2. Under Body select none.
  3. Change method to GET.
  4. Select Authorization type as Bearer token and Paste the JWT token obtained in previous API Call.

p2.PNG

 

The response should be 200 ok and we can see the venue information as shown in below screenshot:

 

MA_0-1696595706762.png

 

References: https://docs.ruckus.cloud/api/ 

0 REPLIES 0