Get Business Details

GEThttps://backend.sindri1.stacks.localbusiness.pro/api/v1/business-details

Returns the full business profile including address, hours, brand colors, and customer portal settings.

X-Public-Keystringrequired

Your business public key. Used to identify which business is making the request.

X-Timestampstringrequired

Current Unix timestamp in seconds. Requests older than 5 minutes are rejected.

X-Signaturestringrequired

HMAC-SHA256 signature of the signing string: {timestamp}\n{METHOD}\n{path}\n{body}, using your private key as the secret.

Responses

{
  "business_details": {
    "name": "Summit HVAC Services",
    "phone": "5551234567",
    "email": "office@summithvac.com",
    "website_url": "https://summithvac.com",
    "address": {
      "address_1": "4820 Industrial Blvd",
      "address_2": null,
      "city": "Denver",
      "state": "CO",
      "zip": "80216"
    },
    "service_areas": "Denver metro, Boulder, Aurora",
    "time_zone": "America/Denver",
    "hours": {},
    "logo": null,
    "primary_color": "#0f3047",
    "secondary_color": "#ffffff",
    "accent_color": null,
    "customer_portal_feature_flag": true,
    "customer_portal_enabled": false,
    "portal_slug": "summit-hvac"
  }
}

Authentication — HMAC-SHA256

Every authenticated request requires three headers:

X-Public-KeyYour business public key
X-TimestampUnix timestamp (seconds)
X-SignatureHMAC-SHA256 of signing string

Signing string: {timestamp}\n{METHOD}\n{path}\n{body}

Request

GEThttps://backend.sindri1.stacks.localbusiness.pro/api/v1/business-details

Rate Limits

With X-Public-Key: 60 req/min per key

Without: 10 req/min per IP

Code Examples

PUBLIC_KEY="pk_live_..."
PRIVATE_KEY="sk_live_..."
TIMESTAMP=$(date +%s)
PATH_URI="/api/v1/business-details"

SIGNATURE=$(printf '%s\n%s\n%s\n' "$TIMESTAMP" "GET" "$PATH_URI" \
  | openssl dgst -sha256 -hmac "$PRIVATE_KEY" | awk '{print $2}')

curl -H "X-Public-Key: $PUBLIC_KEY" \
     -H "X-Timestamp: $TIMESTAMP" \
     -H "X-Signature: $SIGNATURE" \
     "https://backend.sindri1.stacks.localbusiness.pro$PATH_URI"