Skip to main content
Answer

Custom Field in Webhook Payload

  • August 11, 2022
  • 1 reply
  • 169 views

Set up WebHooks on user.created / user.updated event. But there is no custom field including in payload.

Is there a way to get extra fields in payload?

Best answer by Bfarkas

Hi,

No, there’s no configuration option for the payloads. You can take the user Id and do an api call back to get the full details of the user if you want. 
That being said, the create has the additional fields available within the “extra_data” part of the call, you do generally need to parse this area as it has more than that and then find the field you wish. Note that additional fields are only sent if there is data within them. Check out the documentation here for details of the payload:https://help.docebo.com/hc/en-us/articles/360020124479-Webhooks-Events#user_created

 

1 reply

Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • Answer
  • August 11, 2022

Hi,

No, there’s no configuration option for the payloads. You can take the user Id and do an api call back to get the full details of the user if you want. 
That being said, the create has the additional fields available within the “extra_data” part of the call, you do generally need to parse this area as it has more than that and then find the field you wish. Note that additional fields are only sent if there is data within them. Check out the documentation here for details of the payload:https://help.docebo.com/hc/en-us/articles/360020124479-Webhooks-Events#user_created