Get all app configurations
curl --request GET \
--url https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/configimport requests
url = "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"systemUrls": {
"termsAndConditions": "https://www.handauncle.com/terms",
"privacyPolicy": "https://www.handauncle.com/privacy",
"faqs": "https://www.handauncle.com/faqs",
"supportEmail": "hello@handauncle.com"
},
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"requestId": "req_674e2f4a8c1b3d5e7f9a2b4c",
"timestamp": "2025-12-10T14:32:18.445Z"
}
}{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}Mobile app
App Configuration
Returns both system URLs and social media URLs configuration.
GET
/
app
/
config
Get all app configurations
curl --request GET \
--url https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/configimport requests
url = "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"systemUrls": {
"termsAndConditions": "https://www.handauncle.com/terms",
"privacyPolicy": "https://www.handauncle.com/privacy",
"faqs": "https://www.handauncle.com/faqs",
"supportEmail": "hello@handauncle.com"
},
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"requestId": "req_674e2f4a8c1b3d5e7f9a2b4c",
"timestamp": "2025-12-10T14:32:18.445Z"
}
}{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}Retrieve all app configuration settings including system URLs and social media URLs.
This endpoint returns the complete configuration that mobile apps need to render
links, show support information, and display social media connections.
Response
The response includes two main configuration objects:-
systemUrls: Legal and support-related URLs
termsAndConditions: Terms and conditions page URLprivacyPolicy: Privacy policy page URLfaqs: Frequently asked questions page URLsupportEmail: Customer support email address
-
socialMediaUrls: Social media profile URLs
facebook: Facebook page URLinstagram: Instagram profile URLlinkedin: LinkedIn company page URLtwitter: Twitter/X profile URL
Usage
This endpoint is typically called once when the app starts to cache the configuration locally. The URLs are displayed in:- Settings screens
- About pages
- Footer links
- Share dialogs
- Contact support flows
Example
Request
cURL
curl -X GET 'https://api.handauncle.com/app/config' \
-H 'Accept: application/json'
JavaScript
const response = await fetch('https://api.handauncle.com/app/config', {
method: 'GET',
headers: {
'Accept': 'application/json'
}
});
const config = await response.json();
console.log('System URLs:', config.data.systemUrls);
console.log('Social URLs:', config.data.socialMediaUrls);
Kotlin/Android
val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.handauncle.com/app/config")
.get()
.build()
val response = client.newCall(request).execute()
val config = JSONObject(response.body?.string())
Response
{
"success": true,
"data": {
"systemUrls": {
"termsAndConditions": "https://www.handauncle.com/terms-and-conditions",
"privacyPolicy": "https://www.handauncle.com/privacy-policy",
"faqs": "https://www.handauncle.com/terms-and-conditions",
"supportEmail": "hello@handauncle.com"
},
"socialMediaUrls": {
"facebook": "https://facebook.com/handauncle",
"instagram": "https://instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"timestamp": "2025-12-10T14:32:18.445Z",
"request_id": "req_674e2f4a8c1b3d5e7f9a2b4c"
}
}
Configuration Management
To update these URLs, administrators can use the dedicated update endpoints: Both update endpoints require theBACKEND_SECRET for authentication.Response
Configuration data returned successfully.
Available options:
true Show child attributes
Show child attributes
Example:
{
"systemUrls": {
"termsAndConditions": "https://www.handauncle.com/terms",
"privacyPolicy": "https://www.handauncle.com/privacy",
"faqs": "https://www.handauncle.com/faqs",
"supportEmail": "hello@handauncle.com"
},
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
}
Show child attributes
Show child attributes