1. Partner API v2
  2. Resources
  3. Clients

Clients

The organizations you manage. A client is a tenant in the INFIMA dashboard.
3 endpointsScope readClientAdmin
GET/v2/clients
RequiresreadscopeCursor-paginatedReturns Page of Client

Every client the key can access, with a summary of user counts, risk, training, phishing, and enabled features. Summaries are computed on request and cached for a few minutes; call this once per sync run, not once per user.

Query parametersall optional unless marked

idsstring

Comma-separated client ids to restrict the list to.

qstring

Case-insensitive match on client name.

updated_sincestring (date-time)

Only objects whose updated_at is at or after this time. Use it for delta syncs.

sortstring
One ofname-namecreated_at-created_atrisk_score-risk_score

Default "name"

limitinteger

Default 100min 1 · max 500

cursorstring

Opaque cursor from the previous page's page.next_cursor.

curl "https://app.infimasecapis.com/v2/clients" \
  -H "X-API-Key: $INFIMA_API_KEY"
Response objectPage of Client
dataarray of Client
Show item properties(12)
idstring
namestring
industrystringNullable
external_idstringNullable
created_atstring (date-time)
updated_atstring (date-time)
usersobject
Show properties(2)
activeinteger
inactiveinteger
riskobject
Show properties(3)
average_scoreinteger
gradestring

Letter grade derived from the score. A is 800 and above, B 700, C 600, D 400, F below 400.

One ofABCDF
high_risk_usersinteger

Users graded D or F.

trainingobject
Show properties(2)
on_track_ratenumber (float)

Percentage of active users with no overdue course.

overdue_usersinteger
phishingobject
Show properties(2)
click_rate_90dnumber (float)
report_rate_90dnumber (float)
frameworksarray of string

Ids of frameworks assigned to the client.

featuresobject
Show properties(2)
dark_web_monitoringboolean
directory_syncstringNullable
One ofmicrosoftgoogle
pageobject
Show properties(2)
next_cursorstringNullable

Pass as cursor to fetch the next page. Null on the last page.

has_moreboolean
GET/v2/clients/{client_id}
RequiresreadscopeReturns Client

Path parameters

client_idstringRequired

Client id (the client's INFIMA id).

curl "https://app.infimasecapis.com/v2/clients/3f2a9c1e-7b44-5d2e-9a1f-0c6d8e4b2a10" \
  -H "X-API-Key: $INFIMA_API_KEY"
Response objectClient
idstring
namestring
industrystringNullable
external_idstringNullable
created_atstring (date-time)
updated_atstring (date-time)
usersobject
Show properties(2)
activeinteger
inactiveinteger
riskobject
Show properties(3)
average_scoreinteger
gradestring

Letter grade derived from the score. A is 800 and above, B 700, C 600, D 400, F below 400.

One ofABCDF
high_risk_usersinteger

Users graded D or F.

trainingobject
Show properties(2)
on_track_ratenumber (float)

Percentage of active users with no overdue course.

overdue_usersinteger
phishingobject
Show properties(2)
click_rate_90dnumber (float)
report_rate_90dnumber (float)
frameworksarray of string

Ids of frameworks assigned to the client.

featuresobject
Show properties(2)
dark_web_monitoringboolean
directory_syncstringNullable
One ofmicrosoftgoogle
Errors404Not found within the key's accessError envelope →
GET/v2/clients/{client_id}/admins
RequiresreadscopeCursor-paginatedReturns Page of Admin

Client-scoped dashboard admins for this client only.

Path parameters

client_idstringRequired

Client id (the client's INFIMA id).

Query parametersall optional unless marked

limitinteger

Default 100min 1 · max 500

cursorstring

Opaque cursor from the previous page's page.next_cursor.

curl "https://app.infimasecapis.com/v2/clients/3f2a9c1e-7b44-5d2e-9a1f-0c6d8e4b2a10/admins" \
  -H "X-API-Key: $INFIMA_API_KEY"
Response objectPage of Admin
dataarray of Admin
Show item properties(8)
idstring
emailstring (email)
namestring
rolestring
One ofowneradminviewer
scopestring

Partner admins see every client; client admins see one.

One ofpartnerclient
client_idstringNullable

Set when scope is client.

last_login_atstring (date-time)Nullable
created_atstring (date-time)
pageobject
Show properties(2)
next_cursorstringNullable

Pass as cursor to fetch the next page. Null on the last page.

has_moreboolean
Coming in 2.x3 more Clients operations are specified for a later 2.x release.See the roadmap