API for send to inbox should return the ID of document


Or is there a way to get the document ID of inbox?

After inserting an item with inbox/add, I can’t insert an subitems to new item.
Because I can get new item id from inbox/add but do not have document id.
So I can’t use doc/edit.