fixed post messages api