I need to update a service request that was created using the API. I have a properties section in my dashboard which expects for the service request to be resolved, along with some other fields like group, source, close code, etc.
I can’t find any API endpoint for updating. Either updating the service request or creating it with these fields already filled out.
I have an AI agent that is already performing the tasks so a true service request isn’t required to be handled by anyone else. The AI agent creates this service request after finishing the task and then it should resolve it.
I am trying the api/v2/tickets/1, endpoint but I keep running into “message” field is required but when I pass it, it says invalid field
Hello
Also to update a service request, you have to figure out if you want to update a ticket (both incident and service request) field which can be done as a PUT request to the api/v2/tickets/ticket_id endpoint or if you are wanting to update information about the requested items, which is a PUT request to a different endpoint api/v2/tickets/ticket_id/requested_items/requested_item_ID. Here is the documentation to help.
https://api.freshservice.com/v2/#update_req_items_of_sr
I am trying the api/v2/tickets/1, endpoint but I keep running into “message” field is required but when I pass it, it says invalid field
Add ?bypass_mandatory=true to the end of the URL.
Works only when you update a ticket/request with PUT
Join the Community
Sign in to the Community
Social Login
Login for Freshworks Employees Login with LinkedInEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.