Connect uSecure
uSecure is a human risk management platform for MSPs: security awareness training (uLearn), phishing simulations (uPhish), policy management (uPolicy), breach monitoring (uBreach) and the partner…
Written By Christopher Scaminaci
Last updated About 2 hours ago
uSecure is a human risk management platform for MSPs: security awareness training (uLearn), phishing simulations (uPhish), policy management (uPolicy), breach monitoring (uBreach) and the partner console that manages customer accounts (uService). StackJack connects an AI assistant to uSecure's GraphQL API.
Connecting uSecure to StackJack gives your AI assistant a family of usecure_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI
assistant can call through StackJack. With them, your AI can:
- Read the accounts - a company's account type, plan, learner count and limit, billing usage per period, settings and client companies
- Manage the accounts (on Pro plans) - create and update MSP, customer and prospect accounts, change a plan's learner limit, suspend, delete and restore a company
- Manage people - list and read learners and admin users; on Pro plans create, edit, deactivate, reactivate and delete them, and resend an admin's invitation
- Manage groups - read groups and their learners, and set a group's managers (on Pro plans)
- Run training - list courses, and on Pro plans enrol and unenrol learners on courses and on the Gap Analysis
- Read reports - course participation, the uLearn report and a company's risk score history
- Manage policies - read policies, policy templates and each learner's signature; on Pro plans create, update, publish, discard, delete and send them
- Read phishing results - simulations, each learner's result, the send queue, totals and rates
- Read breach data - the users found in data breaches and the breached services (uBreach)
How StackJack authenticates to uSecure
uSecure uses an API key, which StackJack sends in the x-api-key header on every call. You enter the key and the region your uSecure account is on.
Getting the API key
uSecure API access is by invitation. Contact uSecure support and ask for an API key for your account.
Ask for the API key, not a Client API Key. The Client API Key works only for the prospect sign-up call that a public web form makes, and StackJack does not offer that call.
Choosing the region
Choose the uSecure platform your account is on:
- Europe (current) -
public-api.eu.usecure.io - Europe (legacy) -
public-api.usecure.io - United States -
public-api.us.usecure.io
A key works only on the platform its account is on, so StackJack has no default and asks you to choose. If you are not sure, ask uSecure support when you ask for the key.
Connect it in StackJack
- Open Connectors, then uSecure.
- Choose the Region and enter the API key.
- Click Test connection. StackJack reads the key's own company (its name and account type). The test changes nothing.
Choose the region and enter the API key again whenever you save the connection, including when you only rename it.
What is worth knowing before you start
Every change needs approval
Every uSecure change is marked as one that needs approval before an agent can run it. Most of them reach real people or change what uSecure bills:
- Creating an account or an admin user emails an invitation. Enrolling learners on a course or the Gap Analysis emails them, and sending a policy emails a signature request or a reminder.
- Learners are uSecure's billing unit, so creating, importing and reactivating learners, ending a free trial and changing a learner limit can change the bill.
- Suspending, deleting and restoring a company acts on the whole account. uSecure keeps a deleted account for 6 months, and
usecure_start_restore_companycan bring it back in that time. - Publishing a policy or a policy template makes it live, and
resendemails it again to everyone who signed it.
Which company a call acts on
An MSP or distributor key reaches the companies under its account. Most tools take an optional companyId (uSecure's own ID) or an external ID (your own ID for the
company). Without one, uSecure acts on the key's own company.
The tools that act on a whole company (usecure_update_msp, usecure_update_tenant, usecure_update_prospect, usecure_update_plan,
usecure_suspend_account, usecure_delete_company, usecure_start_restore_company) need a companyId or an externalId. StackJack refuses the call without
one, so a forgotten argument never suspends or deletes your own account.
Lists are not paged
uSecure's lists (learners, groups, policies, simulations, breaches) answer the whole list in one call. StackJack sends at most 500 IDs in one list argument; split a longer list into several calls.
Settings are JSON objects
The account settings (settingsJson, defaultTenantSettingsJson), the policy signature settings (signatureSettingsJson) and a bulk learner import
(learnersJson) take JSON text. Each tool's description names the fields uSecure accepts.
Policies from a PDF
usecure_create_policy and usecure_create_policy_template need the key of a PDF that is already uploaded to uSecure (the pdfFile value uSecure's
/upload-policy endpoint answers). StackJack does not upload files to uSecure. To create a policy without a PDF, use usecure_create_policy_from_template.
What StackJack does not offer
signUpProspect: it works only with a Client API Key, which a connection does not hold. Useusecure_create_prospect.createGroup: uSecure's documentation lists it with no name argument, so StackJack does not guess one. Create groups in the uSecure app.- The two file uploads (
/upload-policy,/upload-policy-template-tile). - File links: the policy and template answers leave out the file fields, because uSecure does not document whether they are storage keys or links.
Rate limit
uSecure documents no rate limit. StackJack paces one connection at 60 calls a minute.
When uSecure refuses a call
- The key is refused (401): the key is wrong, was revoked, or belongs to another platform than the region you chose. Ask uSecure support for the API key and check the region.
- Not allowed (403): the key may not do this, for example on a company that is not under your account.
- A GraphQL error: uSecure answers with a message and often a code in brackets, for example a learner or company that does not exist. Repeating the call fails the same way.
- The connection test cannot judge the key: uSecure documents no answer for a wrong key, so only uSecure's own 401 counts against the connection. A 403, a GraphQL error or a refusal by a proxy is reported without counting.
- Rate limited (429) or an outage (5xx): wait and try again.
Plans and limits
Reads are available on the Free tier. Every change is Pro. Business reaches the same tools as Pro and differs by monthly call quota.
See the generated uSecure tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
uSecure tools
usecure_ · 63 tools · Free 23 · Pro 40
Companies
Admin users
Learners
Groups
Courses
Reports
Policies
Policy templates
Phishing simulations
Breaches
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team