Creating an account is very simple. Go to Dashboard to create a free account. We’re using Single Sign On across our websites, therefore, if you already have an account with our services, you can use it to also acccess the Dashboard.
Create an API client app
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
GroupDocs Cloud SDK is written in different languages, all you need to get started is adding our SDK to your existing 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 using Formats API to get all supported file formats in GroupDocs.Annotation Cloud using SDKs for supported languages.
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-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();
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples
StringClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
StringClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
Configurationconfiguration=newConfiguration(ClientId,ClientSecret);InfoApiapiInstance=newInfoApi(configuration);FormatsResultresponse=apiInstance.getSupportedFileFormats();
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php-samples
useGroupDocs\Annotation\Model;useGroupDocs\Annotation\Model\Requests;$ClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
$ClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
$configuration=newGroupDocs\Annotation\Configuration();$configuration->setAppSid($ClientId);$configuration->setAppKey($ClientSecret);$infoApi=newGroupDocs\Annotation\InfoApi($configuration);$response=$infoApi->getSupportedFileFormats();
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node-samples
global.annotation_cloud=require("groupdocs-annotation-cloud");global.clientId="XXXX-XXXX-XXXX-XXXX";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
global.clientSecret="XXXXXXXXXXXXXXXX";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
global.infoApi=annotation_cloud.InfoApi.fromKeys(clientId,clientSecret);letresponse=awaitinfoApi.getSupportedFileFormats();
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samplesimportgroupdocs_annotation_cloudclient_id="XXXX-XXXX-XXXX-XXXX"# Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudclient_secret="XXXXXXXXXXXXXXXX"# Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudinfoApi=groupdocs_annotation_cloud.InfoApi.from_keys(client_id,client_secret)result=infoApi.get_supported_file_formats()
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby-samplesrequire'groupdocs_annotation_cloud'$client_id="XXXX-XXXX-XXXX-XXXX"# Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud$client_secret="XXXXXXXXXXXXXXXX"# Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudinfoApi=GroupDocsAnnotationCloud::InfoApi.from_keys($client_id,$client_secret)result=infoApi.get_supported_file_formats()
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.