reinstate api doc