Title: Exposing Customizer objects in WordPress REST API
Last modified: July 15, 2019

---

# Exposing Customizer objects in WordPress REST API

 *  [petefuseloft](https://wordpress.org/support/users/petefuseloft/)
 * (@petefuseloft)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/exposing-customizer-objects-in-wordpress-rest-api/)
 * I’ve been building a javascript front-end, using wordpress as the CMS. The REST
   API is great for posts, pages, custom post types, etc, but I’m unable to figure
   out how to access the “Customizer” data.
 * For instance, the favicon, and a field I’ve added for “Site Logo” in the customizer,
   which I’d like to expose to the front-end via a /wp-json endpoint.
 * Does anyone know if this is possible?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/exposing-customizer-objects-in-wordpress-rest-api/#post-11733658)
 * As you may know, theme specific customizer data is stored in the options table
   as a serialized array. The option key is “theme_mods_{$theme_name}”
 * The API provides access to only limited option values through the settings object.
   To get other option data, AFAIK you would need to create your own API route/endpoint
   to fetch customizer data.
 *  Thread Starter [petefuseloft](https://wordpress.org/support/users/petefuseloft/)
 * (@petefuseloft)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/exposing-customizer-objects-in-wordpress-rest-api/#post-11734337)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) I thought this might
   be the case. Thanks for confirming!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exposing Customizer objects in WordPress REST API’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [petefuseloft](https://wordpress.org/support/users/petefuseloft/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/exposing-customizer-objects-in-wordpress-rest-api/#post-11734337)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
