Skip to content

Authentication

Send your private API key in X-Api-Key when calling the documented Ferretly endpoints:

X-Api-Key: YOUR_API_KEY

The OpenAPI security scheme is named ApiKey. Request access through Ferretly Integrations.

Keep the key in your integration backend. Do not embed it in publicly delivered browser or mobile code, source control, URLs, screenshots, or documentation feedback.

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

A successful response uses the ApiClient schema:

FieldMeaning
organizationIdAssociated organization
subscriberIdAssociated Ferretly user
ownerAPI-client owner name
permissionsComma-separated permission list
statusUpdateCallbackUrlRegistered callback URL
technicalContactEmailTechnical contact
allowPreferenceProfileUpdateCreate/update permission flag for preference profiles
clientSpecificPropertiesOptional client-specific string

Do not expect this operation to return the API key itself.

Missing or invalid API keys return 401. A request without a key to GET /api/ApiClient returns an application/problem+json body. Permission failures can return 403.

See Errors and status codes for an example response and endpoint-specific handling.

MethodEndpointInput
GET/api/ApiClientNo body
GET/api/ApiClient/getOrganizationNo body
POST/api/ApiClient/updateWebHookJSON string containing the callback URL
POST/api/ApiClient/updateTechnicalContactJSON string containing the contact email
POST/api/ApiClient/updateClientSpecificPropertiesJSON string containing the properties value
GET/api/ApiClient/refreshApiKeyNo body; changes the key

Use a raw JSON string for these string-valued write bodies, rather than an object wrapper. Consult the API reference for exact responses and media types.

GET /api/ApiClient/refreshApiKey changes credentials and returns ApiClientWithApiKey, containing apiClient and apiKey.

Coordinate rotation with all users of the key. Do not invoke the endpoint from a link, browser preview, or automatic retry loop.

Old keys may remain accepted while key lookups are cached. Update all integrations promptly after rotation. If you need to revoke a compromised key, contact Ferretly Integrations; rotation does not provide a fixed overlap window or guarantee immediate revocation.

Send Content-Type: application/json for JSON request bodies. Each endpoint reference lists its supported request and response media types.

Report downloads return binary content. See Results and reports.