Free setup on annual plans

Sign up today!

Customers

API Reference: Customers endpoints

The Customers API now focuses on tenant-level account settings, outbound connector credentials, model defaults and account-scoped secrets. Representatives, costs/subscription and customer custom fields each have their own endpoint pages.

Overview

A customer is the tenant boundary for AnswerPal data. Use this page for account settings and model defaults. Related customer subresources are split into focused pages.

Current endpoints

Customer account endpoints

MethodPathAccessPurpose
GET/api/Customers/meBearer JWTReturn the authenticated customer record as CustomerReadDTO.
PUT/api/Customers/meBearer JWTUpdate customer settings with CustomerUpdateDTO.
GET/api/Customers/modelsBearer JWTList active global and customer-specific AI models, plus selected inactive defaults.
GET/api/Customers/my-secretsPhoneAuthOnlyReturn customer secrets for phone-auth flows. Not a general admin endpoint.

Related customer endpoint pages

Access and security notes

Authentication: protected endpoints use Authorization: Bearer <token>. Phone-auth routes add a channel match requirement, while tokenized callbacks are public only for their scoped action.

Fields and DTOs

Customer and model DTOs

CustomerUpdateDTO and CustomerBaseDTO

Body for customer account settings. Credential fields configure outbound services called by AnswerPal.

AreaFieldsNotes
Outbound API connectorapiBaseUrl, apiUsername, apiPassword, apiToken, apiAuthenticationTypeNot used for inbound AnswerPal API authentication.
Email provideremailProviderType, graphTenantID, graphClientID, graphClientSecret, graphAuthorityURL, graphScope, imapServer, imapPort, imapUseSsl, smtpServer, smtpPort, smtpUseSslGraph and IMAP/SMTP account defaults.
Default modelsdefaultTopicModelId, defaultWebchatModelId, defaultEmailModelId, defaultCallModelId, defaultSpamModelId, defaultConditionalRulesModelId, defaultSummaryModelId, defaultRealtimeModelId, defaultRealtimeTranslationModelId, defaultTranscribeModelIdUpdates validate visibility, active state and compatible model usage.
Internet access defaultsdefaultEmailModelInternetAccessEnabled, defaultWebchatModelInternetAccessEnabled, defaultCallModelInternetAccessEnabled, defaultRealtimeModelInternetAccessEnabledPer-channel default internet access flags.
Provider secretstwilioAccountSID, twilioAuthToken, twilioRegion, openAIApiKey, openAIProjectId, openAIAdminApiKey, googleMapsApiKey, googleCloudProjectIdsExternal provider credentials and project IDs.
Operational defaultsdefaultCustomerRepID, ticketCleanupRetentionDaysRetention must be at least 1 day.

CustomerReadDTO and CustomerModelDTO

Returned by GET /api/Customers/me and GET /api/Customers/models.

AreaFieldsNotes
Customer identitycustomerIDTenant boundary for all customer-scoped data.
Model identitymodelID, purpose, modelName, apiModelNameModel names and purpose metadata.
Modalities and capabilitieshasTextInput, hasImageInput, hasAudioInput, hasVideoInput, hasTextOutput, hasImageOutput, hasAudioOutput, hasVideoOutput, hasFunctionCalling, hasStreaming, hasSystemMessages, hasReasoning, supportsFineTuning, supportsWebSearchUsed by settings screens and runtime selection.
AvailabilityrequiredSubscriptionLevel, isGlobal, isDefault, showInPrimaryList, compatibleUsages, isActive, isFineTunedVisibility, default and compatibility metadata.

Implementation note

Credential fields on this page configure outbound providers and connectors. They are not inbound AnswerPal API authentication.

Implementation note: customer data is scoped by the authenticated customer context. Do not send credentials in query strings, and treat secret fields as write-only or restricted wherever possible.

Table of Contents

AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.

Contact

For all support, sales, and partnership inquiries, email us at info@answerpal.eu

AnswerPal
Bisschoppenhoflaan 380
2100 Antwerp
Belgium

+32.36416685

BE 0862.692.858