Before you can make any requests to GroupDocs Cloud API you need to get Client Id and Client Secret. This will be used to invoke the GroupDocs Cloud API.
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Please check article to learn how to add an SDK to your project.
Make an API request from the SDK of your choice
Use the Client Id and Client Secret from the API app client you created in step one and replace in the corresponding code. Below is an example demonstrating how to get a list of all supported file formats in GroupDocs.Editor Cloud.
Note
The GitHub repository for GroupDocs.Editor Cloud has a complete set of examples, demonstrating our API capabilities.
stringMyClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudstringMyClientId="";// Get ClientId and ClientSecret from ttps://dashboard.groupdocs.cloudvarconfiguration=newConfiguration(MyClientId,MyClientSecret);varapiInstance=newInfoApi(configuration);varresponse=apiInstance.GetSupportedFileFormats();
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.