add post id in api call