Start here

Getting started

Everything a partner needs to go from zero to a verified production integration. Read this page first; the rest is reference.

Hosts

EnvironmentBase URLKeysData
Sandboxhttps://vesta-staging.hbjeffery.workers.dev/apiran_test_…Synthetic companies, customers and jobs. Reset without notice. Outbound email and SMS are stubbed.
ProductionIssued at onboardingran_live_…Real customers. Access is limited by partner type; see Access & compliance.

The sandbox host name still carries the platform's pre-rename infrastructure name. It will move to a ridgearcnetwork.com host with a redirect and 90 days of notice; do not hard-code the host in more than one place.

The three surfaces

SurfacePath prefixWhoAuth
Inbound API/api/inboundLead sources, booking vendors, contractors pulling jobs inside one companyGeneral or contractor key (owner: the company)
Installer API v1/api/partner/v1Installation companies working jobs for one or more companiesInstaller-company key
WebhooksYour HTTPS endpointAnyone with a subscriptionHMAC-SHA256 signature you verify

Your first call

After you sign in and a sandbox key is issued, send it in the x-api-key header. The key is <keyId>.<secret>; send the whole string.

# Create a lead (general key)
curl -X POST https://vesta-staging.hbjeffery.workers.dev/api/inbound/leads \
  -H "x-api-key: $RAN_KEY" \
  -H "content-type: application/json" \
  -d '{"fullName":"Pat Example","email":"pat@example.com","phone":"801-555-0100",
       "address":"123 Ridge Ave, Salt Lake City, UT 84101","smsConsent":true}'

# 201 created
{"status":"created","leadId":"lead_…"}

# List jobs (installer-company key)
curl https://vesta-staging.hbjeffery.workers.dev/api/partner/v1/jobs?limit=50 \
  -H "x-api-key: $RAN_KEY"

Integration checklist

  1. Store the key in a secret manager. Never in source, logs or client-side code. Secrets start with ran_test_ or ran_live_ so scanners can catch leaks.
  2. Send an Idempotency-Key on every write that has one. Retry safely on network errors and 5xx; do not retry 4xx except 429 with backoff.
  3. Verify every webhook signature before parsing the body, reject deliveries older than five minutes, and de-duplicate on x-ridge-arc-delivery-id.
  4. Return 2xx to a webhook only after you have durably accepted it. Anything else is retried with exponential backoff and eventually dead-lettered where you can see it.
  5. Read the x-ridge-arc-api-version header and log it; changes are announced on the changelog.
  6. Keep your integration inside the data boundary for your partner type. Fields you are not entitled to are simply absent; do not try to infer them.

Certification before production

Production keys are issued after a short review, usually one call. We look for:

Support

Email developers@ridgearcnetwork.com with your key prefix (the first 14 characters, never the full key), the request id from the x-request-id response header, and timestamps in UTC. Security issues: put SECURITY in the subject line and we respond the same day.