/config
Token optional
#
App settings, theme, home layout, languages, categories, gifts, wallet, ads and push status.
If app.maintenance is not null show it and block the app. If the installed version is lower than app.min_version, force an update (app.update_url).
Example response
{
"app": {
"name": "Kothakoli",
"logo": "https://…/logo.png",
"min_version": "1.0.0",
"maintenance": null,
"support_email": "hellokothakoli@gmail.com"
},
"theme": {
"primary": "#166534",
"accent": "#ea580c",
"background": "#fbf7ee",
"radius": 16
},
"home_sections": [
"banner",
"featured",
"categories",
"books",
"ad_banner",
"spotlight",
"classics",
"feed"
],
"tabs": [
"home",
"explore",
"write",
"notifications",
"profile"
],
"languages": [
{
"code": "bn",
"native_name": "বাংলা",
"is_rtl": false
}
],
"reactions": [
"like",
"love",
"wow",
"sad",
"inspire"
],
"gift_items": [
{
"id": 1,
"name": "Rose",
"icon": "flower1",
"coins": 10
}
],
"wallet": {
"currency": "₹",
"packages": [
100,
250,
500
]
},
"ads": {
"enabled": true,
"test_mode": true,
"units": {
"banner": "ca-app-pub-…"
},
"placements": {
"home_banner_after_books": true
},
"native_every": 6
},
"push": {
"enabled": true
}
}cURL
curl -X GET "https://www.kothakoli.in/api/v1/config" \
-H "Accept: application/json"Try it live