Skip to main content
GET
/
app
/
config
Get all app configurations
curl --request GET \
  --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config
{
  "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"
  }
}
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 URL
    • privacyPolicy: Privacy policy page URL
    • faqs: Frequently asked questions page URL
    • supportEmail: Customer support email address
  • socialMediaUrls: Social media profile URLs
    • facebook: Facebook page URL
    • instagram: Instagram profile URL
    • linkedin: LinkedIn company page URL
    • twitter: 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 the BACKEND_SECRET for authentication.

Response

Configuration data returned successfully.

success
enum<boolean>
required
Available options:
true
data
object
required
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"
}
}
meta
object
required