Pulling webhook_calls using Content Management API using https://site-api.datocms.com/webhook_calls. I’ve noticed that the entity data in the request_payload is inconsistent within the payload. Sometimes it is request_payload[‘entity’] and sometimes it is request_payload[‘properties’][‘entity’]. I’ve coded around this but was curious why this is.
Hey @keithf, can you provide an example of this? Does it differ between eventType, or project, different webhooks, webhook templates, etc.?
Do any of your webhooks have custom HTTP bodies, perhaps…?
Good catch. That is the issue. Thanks for the assist.
1 Like