Skip to main content
Solved

How to understand webhook payload data?

  • December 7, 2022
  • 4 replies
  • 113 views

Front Developer
Forum|alt.badge.img+2

We're working with webhooks at the moment, and I'm trying to understand the data that I receive. What is the target? What is the source? What are all the values that each property can take?

 

I'm not sure where to look for this in your documentation.

Best answer by Javier - Developer Relations

We provide an example Event payload here as a response from the Get Event endpoint: 

 

https://dev.frontapp.com/reference/get_events-event-id

 

We’ve also flagged the docs for improvement

4 replies

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

Webhooks send specific Event data. If you take a look at that development document, you will see that there are different sources that an event type can have. The target type would depend on the event type and are what would be considered the focus (or target) of a given event type. These corresponding values can be seen in the table as well. 

 

--Justin


Front Developer
Forum|alt.badge.img+2

Yes, but are all of the properties in the event data documented somewhere? How can I understand what each property is, and can be?


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

We provide an example Event payload here as a response from the Get Event endpoint: 

 

https://dev.frontapp.com/reference/get_events-event-id

 

We’ve also flagged the docs for improvement


Front Developer
Forum|alt.badge.img+2

 

This is super helpful, thanks :)