Phin Security

Get Company with Phin API

The Phin API's "Get Company" route retrieves detailed information about a single company, including its unique ID, name, partner details, user count, trial status, and deletion metadata if applicable, with example JSON responses provided for both active and deleted companies and an error code reference for failure scenarios.

  1. 1.Help Center
  2. 2.API / Technical Questions
  3. 3.Phin API Documentation

Get Company with Phin API

This route is used to get a single company in Phin.

Company Attribute Reference

Field NameDescriptionValue TypeOptional (Y/N)
idUnique Id of the companyStringN
nameThe name of this companyStringN
partnerIdThe ID of the partner this company belongs toStringN
partnerNameThe name of the partner this company belongs toStringN
isNFRCompanyWhether this is an NFR (internal) companyBooleanN
activeUsersTotal of all active users in the companyNumberN
isFreeTrialWhether this company is in a free trialBooleanN
deletedWhether this company has been deletedBooleanY
deletionInfoAdditional metadata about the deletion actionObjectY

Response Reference For Active Company

{
  "id": "XJg8r123tsz7Zz6gCkBR",
  "name": "Phin MSP",
  "partnerId": "qok62bsyZEQYShxN38kG",
  "partnerName": "Testing Partner",
  "isNFRCompany": false,
  "activeUsers": 35,
  "isFreeTrial": false
}

Response Sample For Deleted Company

{
  "id": "KUWtsz7Zz6gCkBRxdyR2",
  "name": "Example Company",
  "partnerId": "qok62bsyZEQYShxN38kG",
  "partnerName": "Testing Partner",
  "isNFRCompany": false,
  "activeUsers": 0,
  "isFreeTrial": false,
  "deleted": true,
  "deletionInfo": {
      "deletionTimestamp": "2026-05-14T14:58:58.000",
      "deletedByAdminEmail": "[email protected]"
    }
}

Error Reference

CodeMessageExplanation
500Failed to get company. Please try again or contact Phin Support for assistance.Something went wrong when getting the company data.
404Could not find company with that ID.The company with the passed ID does not exist or couldn't be found.

Was this article helpful?

YesNo

Related articles