REST API essentials
Pro
The VX REST module lets apps, headless front ends and integrations read and write your field values over HTTP. It doesn't add a separate API. It adds a typed vx object to the WordPress REST endpoints you already know, such as /wp/v2/books/123, so one request returns a book's title and content alongside its tagline, gallery and linked writers.
Nothing is public until you say so. Every field starts private, and you open up exactly the fields each kind of visitor should see. Start with Exposing content.
bash
curl "https://example.com/wp-json/wp/v2/books?per_page=5&_fields=id,title,vx"In this section
Exposing contentProThe three switches that decide what the REST API returns, and how to check the result.Access tiersProWho sees a field — public visitors, logged-in users, or only editors — and the rules that always apply.AuthenticationProSign requests with an Application Password, or a cookie and nonce from your own site.