Integrate ticketing into your applications: authenticate, paginate, and call the REST endpoints.
Welcome to the API Reference for Ticketing as a Service! This developer guide is your key to integrating ticketing into your applications.
Whether you are looking to automate ticket creation, extract ticket data for reporting, or enhance your existing tools with ticketing features, explore the endpoints, methods, and parameters available to create, retrieve, and update tickets and activities.
Ticketing API follows REST industry-standard practices, using widely supported HTTP methods such as GET, POST, and PUT.
Use the base URL for the region where your Ticketing instance is hosted.
| Region | Base URL |
|---|---|
| Global (US) | https://teamswork.azure-api.net/ticketing/v1 |
| EU (EMEA) | https://ticketing-apim-eu.azure-api.net/ticketing/v1 |
| APAC (AUS) | https://ticketing-apim-aus.azure-api.net/ticketing/v1 |
Download the OpenAPI specs JSON file and use it with the Swagger tool, or try the endpoints directly below.
Ticketing API does not support bulk updates. You can work on only one object per request.
A maximum of 100 queries per 60 seconds is allowed to ensure system stability.
Ticketing as a Service uses an API key passed as a query parameter. You can use either the primary or the secondary key.

The API key in the settings area is valid only for a single ticketing instance.
Include the API key as a query parameter in every request:
[baseURL]/tickets?key={{your_API_Key}}&timezone=7Handle your API keys with care and keep them secure. Misuse or unauthorized access can compromise your Ticketing as a Service account. If you need help with API key authentication, contact our support team.
We recommend setting up your own sandbox or test environment. A dedicated test environment lets you safely test integrations, functionality, and API calls without affecting your live or production environment.
Ticketing API uses conventional HTTP response codes to indicate the success or failure of a request.
| Code range | Meaning |
|---|---|
2xx | Success. |
4xx | The request failed given the information provided (for example, a required parameter was omitted). Some 4xx errors can be handled programmatically and include an error code that briefly explains the error. |
5xx | An error with Ticketing's servers. |
For some top-level API resources, Ticketing API provides pagination so you can retrieve large datasets in manageable pages, using the conventional limit and offset parameters. A list response is a single page in a reverse chronological stream of objects.
| Parameter | Description |
|---|---|
limit | The number of records to return in each page. |
offset | Sets the first position to return from the results. The default is 0, which starts the page at the first result. |
In addition to offset, you can use the continuationToken mechanism to fetch subsequent pages without managing offsets.
limit for the number of records per page.GET [Base URL]/tickets?limit=50continuationToken field. If it exists, more pages are available.continuationToken as a header parameter.continuationToken; you have then retrieved all the data.See IUser in the Schema. A user is represented by an ID, name, and email. For users from your Microsoft 365 organization, make sure this information stays consistent. Ticketing API does not verify the consistency between the user's ID, name, and email.
To get the ID, name, and email of a user, refer to the Object ID, Display Name, and Email attributes in Azure.
You can fetch custom field information and populate custom fields when creating new tickets, using the unique 36-character hash identifier of each custom field.
Your custom fields information can be found in the instance endpoint.
Reach out! Whether you're looking for support or have a cool suggestion for the app, we’re excited to hear from you!