Add wp-json api integration