Skip to content

Get your organization

GET /api/ApiClient/getOrganization

Send your private API key in the X-Api-Key header. Keep it on your server.

Examples use illustrative values. Set FERRETLY_API_KEY in your server environment for JavaScript, Python, and C#. Replace sample IDs, URLs, and profile values before use.

Terminal window
curl --fail -sS -X GET "https://api.ferretly.com/api/ApiClient/getOrganization" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Accept: application/json"

Success

Illustrative, shortened HTTP 200 response. Optional fields can be absent or null.

{
"id": "22222222-2222-4222-8222-222222222222",
"name": "Example Organization",
"purchasedAnalystSupport": false,
"credits_available": 10
}
Response properties
PropertyTypeDescription
idstring (uuid)
namestringNullable.
purchasedAnalystSupportbooleanRead-only response field.
affiliate_guidstring (uuid)Nullable.
affiliateAffiliateInfo
credits_availableinteger (int32)
credits_usedinteger (int32)
stripe_customerIdstringNullable.
socialMediaScraperYearsinteger (int32)
planTypePlanType
paymentMethodPaymentMethod
isSubscriptionActiveboolean
stripeSubscriptionIdstringNullable.
stripePlanIdstringNullable.
stripePricingIdstringNullable.
numberOfContinuousScreeningSubjectsEnabledinteger (int64)The number of subjects for which continuous screening is enabled
piplCreditsAvailableinteger (int32)
piplCreditsUsedinteger (int32)
alternateDisclaimerTextstringText to use as an alternate disclaimer page Nullable.
data_retention_yearsinteger (int32)Number of years used for data retention
data_retention_periodDataRetentionPeriod
instructionsstringGets or sets the instructions for the organization Nullable.
pricingModelPricingModel
isResellerbooleanGets or sets whether the organization is a reseller. This flag distinguishes resellers from standard organizations in the system.
allowNegativeCreditsbooleanWhen true, the organization is permitted to carry a negative credit balance. Charging flows will not reject requests when credits are at or below zero.
affiliate properties
PropertyTypeDescription
_idstring (uuid)
_ownerstring (uuid)
emailstringNullable.
statusstringNullable.
_createdDatestring (date-time)
_updatedDatestring (date-time)
companyNamestringNullable.
websiteAddressstringNullable.
whitelabelboolean
logostringNullable.
companyAddressstringNullable.
companyAddress2stringNullable.
companyCitystringNullable.
companyPostalCodestringNullable.
companyStatestringNullable.