Skip to content

POST /v1/disc/profile

Fetch a normalized DISC psychometric profile for a user in your organization.

This endpoint abstracts DISC provider complexity and returns a stable, tool-friendly structure that can be passed directly into SotsAI reasoning endpoints (such as /v1/advice).


Endpoint

POST https://sil-api.sotsai.co/v1/disc/profile

Auth

Send your organization API key in X-Sotsai-Api-Key.
Never expose this key to browsers or LLMs.

Rate limits

60/min per API key (organization).
Exceeding this limit returns 429.

Headers

HeaderRequiredValue
X-Sotsai-Api-Keyyessotsai_...
Content-Typeyesapplication/json

  • This endpoint is server-side only
  • Email is required because the DISC provider uses it for lookup
  • Profiles are fetched on demand and not persisted by SotsAI

email required string

Email address of the user whose DISC profile should be fetched.

  • Used only to resolve the profile within your organization
  • Combined with organization context to derive a deterministic provider identifier
  • Not returned in the response
  • Not exposed to other organizations
locale optional string default: 'en'

Language context forwarded to the DISC provider.

  • Used for provider-side localization only
  • Does not affect DISC score computation

Examples:

  • en
  • fr
  • de

Terminal window
curl -X POST "https://sil-api.sotsai.co/v1/disc/profile" \
-H "Content-Type: application/json" \
-H "X-Sotsai-Api-Key: <YOUR_API_KEY>" \
-d '{
"email": "user@company.com",
"locale": "en"
}'

Status codes

StatusMeaning
200OK
400Invalid payload
401Missing or invalid API key
403Organization inactive / forbidden
404DISC profile not found
429Rate limited
500Internal error
502Provider error
Example response body
{
"tool": "disc",
"raw_scores": {
"natural": {
"D": 72,
"I": 58,
"S": 34,
"C": 46
},
"adapted": {
"D": 65,
"I": 52,
"S": 40,
"C": 55
}
}
}
Example error response body
{
"status": "error",
"error_code": "PSY_PROFILE_NOT_FOUND",
"message": "No DISC profile found for the specified user."
}
Idempotency

This endpoint is deterministic and side-effect free.

  • safe to retry on network/timeouts/5xx
  • safe to cache when context and profiles are unchanged

Idempotency keys are not required.

Logging and privacy Avoid logging:

  • email addresses
  • full DISC profiles

Safe to log:

  • HTTP status
  • latency
  • error codes