Skip to main content
Solved

How do I add a custom field when sending events with the PagerDuty Events API?

  • October 3, 2024
  • 2 replies
  • 160 views

I want to create a custom field and add it to events I create with the events API: https://support.pagerduty.com/main/docs/custom-fields-on-incidents. I'm not using orchestration.

I'm using the events API and I see no option for custom fields: https://developer.pagerduty.com/api-reference/368ae3d938c9e-send-an-event-to-pager-duty

I want to use this custom field to add info to the PD incidents when they are generated for users to see so it can't happen after the incident is create from the event.

If I have to make multiple API calls to create an event, get the incident that the event generated, then update the incident with a custom field it will have no utility for me. Is this how this is suppose to work?

 

SO post: https://stackoverflow.com/questions/79051228/how-do-i-add-a-custom-field-when-sending-events-with-the-pagerduty-events-api

Best answer by mwalls

Hi!

You are correct, events are separate from incidents, and custom fields currently exist in incidents or in events enriched during an Event Orchestration workflow. This may change in the future.

 

--mandi

 

 

2 replies

mwalls
Forum|alt.badge.img
  • Community Manager
  • Answer
  • October 10, 2024

Hi!

You are correct, events are separate from incidents, and custom fields currently exist in incidents or in events enriched during an Event Orchestration workflow. This may change in the future.

 

--mandi

 

 


  • Author
  • New Member
  • October 14, 2024

Ok well thats disappointing. So its pretty much gated by the higher paid tier then.