Skip to content
Client Login Start a project
Developers

Build on Specicon’s decision API.

Send relevant inputs, receive structured results and supporting reasoning, and integrate the response directly into your application’s interfaces and workflows.

base url api.specicon.com/v1 authentication Bearer token response format JSON environments Sandbox · Production
Quickstart

From access to the first response.

01
Get sandbox access

Start in a test environment.

Use environment-specific credentials to validate requests before connecting a production application.

Request Sandbox Access
02
Send a request

Call the decision endpoint.

Provide the relevant user reference and contextual inputs using the documented request structure.

03
Handle the response

Use the result and its reasoning.

Parse the returned fields, display the relevant explanation, and handle errors within your application's workflow.

Open Quickstart
curl
curl -X POST https://api.specicon.com/v1/match \
  -H "Authorization: Bearer $SPECICON_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user":    "barcode_id",
    "context": { "occasion": "date_night" }
  }'
POST /v1/match

The request and response contract.

Submit the inputs required for evaluation and receive a structured result with the supporting information your application can use.

Request fields
userstringA reference used to associate the request with permitted user context.
contextobjectRequest-specific criteria such as occasion, budget, channel, or other relevant conditions.
objectivestringAn optional evaluation objective supported by the configured application.
candidatesintThe number of qualifying alternatives requested, subject to applicable limits.
Response fields
matchstringThe selected option or its identifying reference.
scorefloatA numerical measure of fit according to the configured evaluation criteria.
reasonstringA human-readable explanation of the result.
Request POST /v1/match
{
  "user":       "usr_48213",
  "context":    { "occasion": "date-night", "budget_band": "100-150" },
  "objective":  "conversion",
  "candidates": 1
}
200 OK
{
  "match":      "Oud Velvet Noir",
  "score":      0.94,
  "reason":     "warm · evening · luxury: date-night optimal",
  "confidence": "high",
  "latency_ms": 18
}
GET/v1/identity/{user}

Inspect permitted user-context information and associated metadata for supported debugging and integration workflows.

POST/v1/feedback

Submit observed outcomes and feedback for subsequent evaluation, analysis, and improvement.

Error handling

Know what failed and why.

Structured error responses help your application identify authentication failures, invalid references, unsupported inputs, and rate-limit conditions.

401Authentication failed or credentials are invalid.
404The requested resource or reference was not found.
422Request validation failed. Inspect the returned field details.
429The configured request limit has been reached.
Limits & environments

Test before expanding.

Use separate environments, applicable quotas, and available request metadata to validate integration behavior, diagnose failures, and prepare for production use.

Explore Plans

Need implementation support?