solarOS Organization API

Organization API

Get one Lead

Returns one Lead by solarOS id inside the authenticated organization boundary. Missing or cross-tenant records return 404. Required scope: leads:read.

/api/v1/leads/{id}

Returns one Lead by solarOS id inside the authenticated organization boundary. Missing or cross-tenant records return 404. Required scope: leads:read.

Get one Lead. Use an organization API key with leads:read. Check the response envelope and meta.requestId before triggering dependent workflow steps.

Required scopes

leads:read

Parameters

NameInTypeDescription
idrequiredpathstringLead identifier returned by the Organization API.

Request body

This endpoint does not accept a JSON request body.

Responses

200

Lead detail envelope

#/components/schemas/LeadEnvelope

401

Missing or invalid organization API key

#/components/schemas/OrgApiError

402

Organization billing access or an endpoint-specific business quota denied the request

#/components/schemas/OrgApiError

403

Missing required scope: leads:read

#/components/schemas/OrgApiError

404

Lead not found

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request403 Missing required scope: leads:read404 Lead not found429 Rate limit exceeded

Static examples

curl -X GET "$SOLAROS_BASE_URL/api/v1/leads/$SOLAROS_LEAD" \
  -H "Authorization: Bearer $SOLAROS_API_KEY"