Hello,
I’m looking for the endpoint to fetch the options page I created.
acf_add_options_page( array(
'page_title' => 'Options du thème',
'post_id' => 'acf-options-theme',
) );
I tried /wp-json/acf/v3/options and /wp-json/acf/v4/options/acf-options-theme, but I get a 404 error
code: "rest_no_route"
Any help ?
Thanks for the help !
Hello, Did you found a solution ?
Hi @napkey93 and @rom_uht you can try to use this plugin: https://wordpress.org/plugins/acf-to-rest-api/
And then the URL will be: /wp-json/acf/v3/options/options OR /wp-json/acf/v2/options/options
depending on a version you specify in the settings of that plugin 🙂
Hope this helps!
also looking for a way to do this (without the acf-to-rest plugin).. whats the API endpoint for options pages?
hello – anyone find a way to do this?
Would love to know as well. I find the documentation for the REST API very lacking.