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 for 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 Client Secret from the API app client you created in step one and replace in the corresponding code.
Below is an example demonstrating using the Formats API to get all supported file formats in GroupDocs.Signature Cloud.
Note
The GitHub repository for GroupDocs.Signature Cloud has a complete set of examples, demonstrating our API capabilities.
SDK example
// For complete examples and data files, please go to https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-dotnet-samplesstringMyClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudstringMyClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloudvarconfiguration=newConfiguration(MyClientId,MyClientSecret);varapiInstance=newInfoApi(configuration);varresponse=apiInstance.GetSupportedFileFormats();
// For complete examples and data files, please go to https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-java-samples
StringMyClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
StringMyClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
Configurationconfiguration=newConfiguration(MyClientId,MyClientSecret);InfoApiapiInstance=newInfoApi(configuration);FormatsResultresponse=apiInstance.getSupportedFileFormats();
// For complete examples and data files, please go to https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-php-samples
useGroupDocs\Signature\Model;useGroupDocs\Signature\Model\Requests;$ClientId="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
$ClientSecret="";// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
$configuration=newGroupDocs\Signature\Configuration();$configuration->setAppSid($ClientId);$configuration->setAppKey($ClientSecret);$infoApi# new GroupDocs\Signature\InfoApi($configuration);
$response=$infoApi->getSupportedFileFormats();
// For complete examples and data files, please go to https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-node-samples
global.signature_cloud=require("groupdocs-signature-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=signature_cloud.InfoApi.fromKeys(clientId,clientSecret);letresponse=awaitinfoApi.getSupportedFileFormats();
# For complete examples and data files, please go to https://github.com/groupdocs-signature_cloud-cloud/groupdocs-signature_cloud-cloud-python-samplesimportgroupdocs_signature_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_signature_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-signature-cloud/groupdocs-signature-cloud-ruby-samplesrequire'groupdocs_signature_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=GroupDocsSignatureCloud::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.