question

automation-usa avatar image
automation-usa asked Ryan Off answered

Postman collection?

I love the fact that RingCentral's API explorer lets you kick the tires and test API requests to some extent. 

But I sure would love to have a Postman collection of all of RingCentral's cURL methods along with sample form data that I could use to test in both Sandbox and Production modes by simply switching Postman environments...

I looked around on Github but came up empty. Any volunteers?
topic-default
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered
Great suggestion! We are big fans of Postman at RingCentral as well and use it internally. At the same time we are big fans of the ecosystem benefits of a well specified API using Swagger and the Open API Spec which is available on our AP Explorer page:


To convert this spec you can use a variety of Swagger to Postman conversion tools:


Please try it out and let us know how it works for you on the RingCentral Swagger/OAI Spec.
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered
I finally got around to looking at this myself and found some things with the RingCentral API made adding customizations useful. Specifically:

  • Ability to add Postman scripts (for auth)
  • Ability to override values (for URL hostname: production vs. sandbox)

To address these, I created my own Swagger 2.0 to Postman 2.0 converter which I've posted here:


Note: At the moment, Postman does not natively support JSON request bodies so you will have to enter the JSON bodies yourself using the Body Raw feature. Our API Explorer does support a JSON body request so you can enter properties without having to type in the raw JSON. It may be useful to support example request in Swagger which can be converted to a Postman raw body.
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

automation-usa avatar image
automation-usa answered
Thanks Jonh! I
 had given Swagger to Postman a try but wasn't able to make it happen
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ryan Off avatar image
Ryan Off answered

This looks promising:

https://github.com/grokify/ringcentral-postman


The easiest way to open the collection is in Postman, go to to Import > Import from Link and use this link:

https://raw.githubusercontent.com/grokify/ringcentral-postman/master/ringcentral-api_spec_openapi2.yaml

1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.