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://staging.ridgearc.network/apiran_test_…Synthetic integration records. Confirm provider test modes and reset windows during onboarding.
Productionhttps://ridgearc.network/apiran_live_…Real customers. Access is limited by partner type; see Access & compliance.

The production integration target is ridgearc.network. Development and certification use staging.ridgearc.network. Keep credentials and base URLs separate. Coordinate account activation during onboarding.

Read the production workflow and financing integration design for the complete customer-to-installation journey.

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://staging.ridgearc.network/api/inbound/leads \
  -H "x-api-key: $RAN_KEY" \
  -H "content-type: application/json" \
  -d '{"fullName":"Pat Example","email":"[email protected]","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://staging.ridgearc.network/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 [email protected] 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.