APIReferenceSettings
Update scoring thresholds
Changes ignore / qualify / opportunity cutoffs or the home coordinates on the active config.
Changes ignore / qualify / opportunity cutoffs or the home coordinates on the active config.
Authorization
bearerAuth AuthorizationBearer <token>
A Supabase Auth user access token for the signed-in SignalDock user, sent as Authorization: Bearer <token>. Paste one from a signed-in session, or obtain one through the oauth2 scheme; the API accepts either.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Change active scoring thresholds or the home coordinates.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/settings/scoring" \ -H "Content-Type: application/json" \ -d '{ "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9" }'{ "config": { "id": "55555555-5555-4555-8555-555555555555", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "version": 1, "is_active": true, "ignore_below": 42, "qualify_at": 42, "opportunity_at": 42, "home_lat": 0, "home_lng": 0, "created_at": "2026-09-15T12:00:00.000Z", "updated_at": "2026-09-15T12:00:00.000Z" }, "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "scoring_config_id": "e42f6b32-fb8c-4f34-a9de-635ff3e338a6", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "dimension": "commercial_relevance", "rule_key": "string", "weight": 0, "max_points": 42, "params": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}