Phin Security
The Phin Security API allows partners to access their data programmatically. It provides endpoints for managing companies, retrieving historical phishing and training data, accessing reporting artifacts, and viewing usage information. The API must be enabled through the Phin Portal. Authentication uses OAuth2 Client Credentials flow via Auth0.
Actions10
- Test Actions
- Companies Actions
- Usage Actions
- HistoricalData Actions
- Reports Actions
- Users Actions
Users → Import users into a company
AI-generatedSummary
Imports an array of user objects into a Phin Security company via POST /partners/{partnerId}/companies/{companyId}/users/import.
Inputs
- partnerId (required) — Your Phin Partner ID
- companyId (required) — The Company ID
- users (required) — Array of user objects to import into the company
Output shape
array
Returns an array of user objects from the import API, wrapped as n8n items. If the API returns a non-array response, the single result is returned as a single-item array.
Examples
Example 1: Basic import of users into a company
Set partnerId, companyId, and provide a JSON array of user objects under the 'users' parameter. Leave other options at defaults or adjust as needed.