Skip to content

Verify your API key

GET /api/ApiClient

Using the API key found in the request header, return information about the API client

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

Success

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

{
"subscriberId": "11111111-1111-4111-8111-111111111111",
"organizationId": "22222222-2222-4222-8222-222222222222",
"owner": "integrations@example.com",
"statusUpdateCallbackUrl": "https://example.com/hooks/ferretly",
"technicalContactEmail": "integrations@example.com",
"allowPreferenceProfileUpdate": false
}
Response properties
PropertyTypeDescription
subscriberIdstring (uuid)The id of the Ferretly user associated with the API client key
organizationIdstring (uuid)The id of the Ferretly organization associated with the API client key
ownerstringName of the API client key owner Nullable.
permissionsstringComma-separated list of permissions associated with the API client Nullable.
statusUpdateCallbackUrlstringWebhook URL Nullable.
clientSpecificPropertiesstringA place to store additional, generic properties about the API Client Nullable.
technicalContactEmailstringEmail address of the technical contact for this API client organization. Nullable.
allowPreferenceProfileUpdatebooleanGets or sets a value indicating whether this API client is allowed to update preference profiles.