Skip to main content
Question

API Webhook for custom fields in "Document Template" Service Request


I want to create a Service Request for a Document Template and already prefill all the neccessary fields for the document. 

I was able to create the webhook to create the Service Request, but I’m unable to fill the custom fields in the document. I tried “custom_fields” but only get a invalid_field response. Any Idea how to acomplish this? The v2 API documentation was not very helpful.

Did this topic help you find an answer to your question?

2 replies

Nittannia
Community Debut
Forum|alt.badge.img+2
  • Community Debut
  • 21 replies
  • February 26, 2024

Hi @ckesgrp 

Could you please try using the web request node instead of webhook and use this API call to achieve the use case. You can also refer to this article which can help you with the mapping. 

If you still have issues kindly reach out to us on support@freshservice.com.


nolenalian21
Community Debut
  • Community Debut
  • 1 reply
  • February 1, 2025

It is like you might need to check the field names carefully in the API. Sometimes custom fields require specific formatting or an exact match with the template's internal identifiers Gold Rate. Have you tried using the exact names or IDs from the template for the custom fields, or is there another way to pass them in the webhook payload.


Reply