Skip to main content
Solved

Plugin: get ticket id from context

  • February 26, 2025
  • 4 replies
  • 110 views

NPdevs
Forum|alt.badge.img+2

Is it possible to get Ticket data from the context (singleConversation) via the plugin SDK?

Best answer by Javier - Developer Relations

You are correct, this is not available via the plugin SDK. However, I’m talking with the Product and Engineering teams so they can evaluate adding it. For now, the best option is to obtain it from the Core API as you’ve done.

4 replies

jason
Forum|alt.badge.img+8
  • Fronteer
  • February 26, 2025

Yes - plenty of conversation about the conversation being viewed will be accessible, either in the context object itself, or via Plugin SDK methods. 

Is there something specific you’re trying to access?


Javier - Developer Relations
Forum|alt.badge.img+9

@jason I believe ​@NPdevs is asking about the new ticket statuses available through the Core API. I’m double-checking whether there is a plan to add this to the Plugin SDK.


NPdevs
Forum|alt.badge.img+2
  • Author
  • Helper
  • February 27, 2025

I was specifically looking for Ticket ID (and possibly status), but I don’t think this is available via the plugin SDK.

Instead I found it via Core API’s conversation endpoint (https://api2.frontapp.com/conversations/[cnv_id])

"ticket_ids": [
"DEV-4"
]

 


Javier - Developer Relations
Forum|alt.badge.img+9

You are correct, this is not available via the plugin SDK. However, I’m talking with the Product and Engineering teams so they can evaluate adding it. For now, the best option is to obtain it from the Core API as you’ve done.