writescopeReturns ClientProvisions a new client under your partner account. Requires a key with access to all clients. The client starts with the Security Awareness Foundations program, the same as one created in the dashboard, and appears in GET /clients immediately.
Request bodyapplication/json
namestringRequiredindustrystringOptional industry label used for benchmarking.
external_idstringYour own identifier for this client (PSA company id, CRM id). Stored and returned as-is; not used for lookups yet.
curl -X POST "https://app.infimasecapis.com/v2/clients" \
-H "X-API-Key: $INFIMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Manufacturing",
"industry": "manufacturing",
"external_id": "PSA-10482"
}'Response objectClient
idstringnamestringindustrystringNullableexternal_idstringNullablecreated_atstring (date-time)updated_atstring (date-time)usersobjectShowHide properties(2)
activeintegerinactiveintegerriskobjectShowHide properties(3)
average_scoreintegergradestringLetter grade derived from the score. A is 800 and above, B 700, C 600, D 400, F below 400.
ABCDFhigh_risk_usersintegerUsers graded D or F.
trainingobjectShowHide properties(2)
on_track_ratenumber (float)Percentage of active users with no overdue course.
overdue_usersintegerphishingobjectShowHide properties(2)
click_rate_90dnumber (float)report_rate_90dnumber (float)frameworksarray of stringIds of frameworks assigned to the client.
featuresobjectShowHide properties(2)
dark_web_monitoringbooleandirectory_syncstringNullablemicrosoftgoogle400Invalid request403The key cannot perform this action or reach this client409The object already existsError envelope →