Switch message sending to /messages endpoint.