top of page

How to Populate Custom Fields in Ticketing API for Microsoft Teams

Ticketing As A Service lets you tailor your Microsoft Teams ticketing system exactly the way your organization works—including the ability to customize ticket fields. Whether you're streamlining HR requests or tracking IT incidents, custom fields help capture the precise data your teams need. And with the Ticketing API, you can automate all of it.


In this post, we’ll walk through how to populate custom fields using the Ticketing API.


Understand What a Custom Field Is

Custom fields are additional fields you can add to a ticket form, such as a dropdown menu for ticket priority or a text input for internal reference numbers. These fields can vary depending on your workflows, department needs, or data requirements.


If you’ve already set up custom fields in your Ticketing instance, great. If not, you can do it directly from the app interface. Read how to configure Custom Fields in Ticketing As A Service.


Get the Custom Field ID

Before you can populate custom fields via API, you’ll need:

  • The Custom Field ID

  • (If applicable) the List Picker Option ID

You can get both by performing a GET Instance request on your Ticketing instance. Refer to the Ticketing API page and see the Instance Endpoint section.



This request will return a list of all custom fields created in your instance. For example:


List Custom Field
List Custom Field
Text Custom Field
Text Custom Field

Populate Custom Fields

You can add the custom fields to the request body.


People Picker

"customFields": {
      "146db0c4-de24-4818-a131-a27161bb7ad0": [
        {
          "id": "053660b7-xxxx-xxxx-xxxx-xxxxxxxxxxx", // UUID
          "name": "Allan Deyoung",
          "email": "AllanD@xxxxxxxx.com"
        }
      ], // People picker

List and Email Picker

"fef751d6-067d-431b-8a6d-667056eff6ee": [ 
 "70d42d78-899a-4d5e-8cf0-79a0e4a6b0b1", 
"fe68df23-432e-4c0f-9841-a018b7f46d0b" 
], // Multiple Items

"5b9f56bc-ec6a-45a3-b7ce-c25e1d8cfd69": [ 
"f72541a9-c964-4c81-bc1a-4f1f2d948416" ], // Single Item

Text Area and Text

"4aad4ef9-3242-4bb6-87f7-29428567429f": "long text area\nbla bla bla", 
// Text Area 

"7670050a-cf1a-4d3d-8179-5eba888dea5f": "text in custom field", 
// Text Field 

Toggle

"862bd88d-f691-4a7b-a89a-f6f48550fc27": true, // Toggle 

Date

"7ee98e41-c4d0-4d4c-beb9-2b7f8f8c35c8": "2025-04-26T17:00:00Z" // Date Picker

Example when doing a POST Ticket :


Custom fields are a powerful way to adapt Ticketing As A Service to your organization’s unique needs—and with the Ticketing API, you can automate the entire process with precision. Whether you're integrating with internal systems or simply streamlining workflows, having control over your ticket data gives your teams a serious productivity boost.


Explore the Ticketing API documentation to dive deeper, and start building smarter, more flexible ticketing processes right inside Microsoft Teams.



TeamsWork is a Microsoft Partner Network member, and their expertise lies in developing Productivity Apps that harness the power of the Microsoft Teams platform and its dynamic ecosystem. Their SaaS products, including CRM As A Service, Ticketing As A Service and Checklist As A Service, are highly acclaimed by users. Users love the user-friendly interface, seamless integration with Microsoft Teams, and affordable pricing plans. They take pride in developing innovative software solutions that enhance company productivity while being affordable for any budget.

Comments


bottom of page