Skip to content

List preference profiles

GET /api/PreferenceProfiles

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/PreferenceProfiles" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Accept: application/json"

Success

The subscriber or organization identifier is missing from the request credentials.

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

[
{
"id": "11111111-1111-4111-8111-111111111111",
"profileName": "Integration example",
"isOrganizationDefaultProfile": false,
"isPrivateProfile": false
}
]
Response properties
PropertyTypeDescription
idstring (uuid)The ID of the preferences profile
profileNamestringThe name of the preferences profile Nullable.
isOrganizationDefaultProfilebooleanA boolean indicating whether this profile is the organization’s default profile
subscriberIdstring (uuid)The ID of the user associated with a private preferences profile. Nullable.
isPrivateProfilebooleanA boolean indicating whether this profile is private.