Azure Lab Services is retiring on June 28, 2027.

Move your labs (opens in a new tab)
Skip to main content

The CloudLabs public API lets your systems do what the Admin portal does: list and create labs, add attendees, make activation codes and read progress. Use it to connect CloudLabs to your LMS, CRM, store or internal tools.

​At a glance

Base URLhttps://vnext-api.cloudlabs.ai
Version/v1 in every path, e.g. https://vnext-api.cloudlabs.ai/v1/labs
AuthenticationOAuth 2.0 client credentials with Microsoft Entra ID; send the token as Authorization: Bearer
FormatJSON; errors as application/problem+json
Paginglimit 1–100 (default 25) and an opaque nextCursor
DatesLab days as yyyy-MM-dd; timestamps in UTC with Z

​What you can do

  • Labs: list, read, create (with ?dryRun=true to check first), change, publish, open or close registration, copy and archive.
  • Attendees: add an attendee and get their launch URL, list attendees with progress, delete or extend a deployment.
  • Templates: list the templates your client may use.
  • Codes: list and create activation codes.
1

Get credentials

Create an API client in the Admin portal. See Get API credentials.

2

Get a token

Request a token from Microsoft Entra ID. See Authentication.

3

Call the API

curl -s "https://vnext-api.cloudlabs.ai/v1/labs?limit=25" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

​What a client can reach

A client's access is the overlap of three things: its access level, the scopes it was given and your organisation's plan. A call outside them is refused with a clear error; see Errors.

The full API reference, with every operation and a "Try it" console, is on this site under API reference.

Was this page helpful?