Endpoint #
GET /wp-json/rtcl/v1/config
Authentication #
π Required
Uses REST API authentication handled by API Key named x-api-key.
Request Parameters #
β None
Response #
Returns a structured configuration object containing currency, listings, promotions, UI behavior, chat, map, and system settings.
Response Example #
{
"currency": {
"id": "USD",
"symbol": "$",
"position": "left",
"separator": {
"decimal": ".",
"thousand": ","
}
},
"renew": true,
"promotions": ["_featured", "_top"],
"datetime_fmt": {
"time": "HH:mm",
"date": "YYYY-MM-DD"
},
"location_type": "hierarchical",
"mark_as_sold": true,
"image_size": "5 MB",
"compare": {
"active": true,
"limit": 3
},
"chat": {
"enable": true,
"refresh_interval": 20000
}
}
π§© Response Sections #
Currency #
Defines listing currency formatting.
idsymbolpositionseparator.decimalseparator.thousand
Payment Currency #
Currency used for payments and orders.
idsymbolpositionseparator
Listing & User Rules #
registered_only.listing_contactβ Contact seller restrictionrenewβ Listing renewal enabledmark_as_soldβ Allow mark as soldsubscriptionβ Subscription system enabled
Promotions #
Available promotion types for listings.
["_featured", "_top", "_bump_up"]
Date & Time #
Frontend-friendly date formats.
datetime_fmt.datedatetime_fmt.timeweek_daysstart_of_weektimezone
Images & Media #
image_sizeβ Maximum upload sizeimage_typeβ Allowed image formats
Badges #
UI badge configuration for listings.
newpopularfeaturedtopbump_up
Each badge includes:
labellisting(archive)single(single page)color.bgcolor.text
Compare #
Listing comparison settings.
compare.activecompare.limit
Registration Form #
Controls registration fields.
namephonerequired_phone
Chat #
Chat system configuration.
enableattachmentrefresh_intervalpusher(if enabled)
Map #
Map configuration for listings.
type(google/osm)zoomcenterapi_key(Google Maps only)
Reviews #
Available if comments are enabled.
ratingupdate_rating
Notes #
- This API is intended to be called once on app load
- Reduces multiple settings requests
- Supports filters via
rtcl_rest_api_config_data - Ideal for mobile apps, SPAs, and headless frontends