Before you can make any requests to GroupDocs Cloud API you need to get a Client Id and a Client Secret.
This will will be used to invoke GroupDocs Cloud API. You can get it by creating a new Application.
Install the SDK of your choice
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 the Client Secret from the API app client you have created previously and replace in the corresponding code. Below is an example demonstrating how to get a list of all supported file formats in GroupDocs.Watermark Cloud.
Note
The GitHub repository for GroupDocs.Watermark Cloud has a complete set of examples, demonstrating our API capabilities.
// For complete examples and data files, please go to https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-dotnet-samplesstringClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudstringClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudvarconfiguration=newConfiguration(ClientId,ClientSecret);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.