API call for custom data in incidents

Can some one just point to a link in the KB that shows how to fetch custom data from a incident?

Are you referring to the original event/alert data that triggered the incident?

https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE0Nw-list-log-entries-for-an-incident

curl --request GET
–url ‘https://api.pagerduty.com/incidents/INC_ID_HERE/log_entries?is_overview=false&include[]=channels
–header ‘Accept: application/vnd.pagerduty+json;version=2’
–header ‘Authorization: Token token=YOUR_TOKEN’
–header ‘Content-Type: application/json’

Then in the response, find the “trigger_log_entry” type and look at the channel.details object for the “Custom Details” listed on the Details tab of an incident in the PD WebUI.