Short version: review request objects do not include an id in webhooks or API endpoints. This makes syncing difficult.
My application requires syncing historical review requests and new review requests in real-time using webhooks.
Since there’s no canonical “id” or identifier shared between the webhooks and API, there is no way to identify whether a review request that came in through a webhook is the same review request as one returned in the events API, and vice versa. This makes is almost impossible to prevent duplicates when syncing historical data using the API in combination with syncing real-time webhooks.
Is there any reference or id in the webhooks payload or issue events API or another API endpoint that I am missing that could solve this problem? How come review requests do not have an
id or some other permanent identifier?