Is there a way to get the document id and table id in the webhook?

Right now, I am creating two new columns Doc_ID and Table_ID and turning them into Formula columns and manually setting the values to <Document_id> and <Table_id>.
Is there a way to add this information to the webhook automatically?
If that is a no, is there a way to generically get the data in a Formula column so that I can copy that across tables?