Citrix Cloud services simplify the delivery and management of Citrix technologies, helping you to extend existing on-premises software deployments or move 100 percent to the cloud.

If you’ve already used Citrix Cloud, then you’ll have logged in and, perhaps, managed some of the available services in the console user interface. The console retrieves data from Citrix Cloud via the Cloud Services Platform APIs, and much of the console functionality is available for admins and developers to access programmatically.

Our new tutorial — Getting started with the Citrix Cloud REST APIs — explains how to do precisely this, from a variety of scripting languages.

The tutorial takes a hands-on approach to working with the APIs, walking you through the basics of authentication and accessing a variety of services. You can choose PowerShell, Python, or cURL to interact with the APIs from the command line. Whichever you choose, you’ll gain an understanding of how to obtain an API access token, and then how to use that token to retrieve data such as resource locations and service entitlements, as well as send notifications to admins in your Citrix Cloud customer environment.

If you’re working with the Citrix Virtual Apps and Desktops service, there’s an added bonus: you’ll learn the specifics of interacting with the Citrix Virtual Apps and Desktops REST APIs and see how you can combine API calls into a simple automation script. The sample script included in the tutorial iterates through the machines in a given catalog, rebooting those that have no user sessions. It’s useful in itself, but you’ll be able to build on it to automate repetitive tasks that are specific to your situation.

Whether you’re an admin new to the world of APIs or a developer with years of experience, take an hour or two to work through the tutorial and let us know how you automated part of your day.

Looking for more API security insights? Read the API security chapter of our Unified Security Guide.