The Customers endpoints read and update the account of the signed-in customer: outbound connector credentials, mail defaults, default AI models and retention. Every call works on the customer in the token; there is no customer ID in the path.
A customer is the account that owns all other AnswerPal data. Representatives, costs and storage, and custom field definitions have their own pages:
/api/Customers/mehas... flags tell whether one is stored./api/Customers/me/api/Customers/models/api/Customers/my-secretsGET /api/Customers/me returns these fields. PUT /api/Customers/me accepts the same fields except customerID, the has... flags and models, plus the secret fields below.
customerID (integer, read only)defaultCustomerRepID (integer or null)ticketCleanupRetentionDays (integer, at least 1, default 30)maxPromptDocumentImagesPerPrompt (integer or null, 0 or more)maxPageImagesPerReply (integer or null, 0 to 50)Used when AnswerPal calls your systems through actions and documents. These are not credentials for the AnswerPal API.
apiBaseUrl, apiUsername (string or null)apiAuthenticationType (string or null)Basic, Bearer or RawAuthorization (the token is sent as the full Authorization header value).hasApiPassword, hasApiToken (boolean, read only)Defaults for e-mail channels that do not override them.
emailProviderType (string or null)graphTenantID, graphClientID, graphAuthorityURL, graphScope (string or null)imapServer, imapPort, imapUseSsl, smtpServer, smtpPort, smtpUseSslhasGraphClientSecret (boolean, read only)Model IDs from GET /api/Customers/models. Each must be active, visible to the customer and suited to its use; otherwise the update is refused.
defaultTopicModelId, defaultWebchatModelId, defaultEmailModelId, defaultCallModelId, defaultSpamModelId, defaultConditionalRulesModelId, defaultSummaryModelId, defaultRealtimeModelId, defaultRealtimeTranslationModelId, defaultTranscribeModelId, defaultLiveModelId, defaultTextTranslationModelId (integer or null)defaultEmailModelInternetAccessEnabled, defaultWebchatModelInternetAccessEnabled, defaultCallModelInternetAccessEnabled, defaultRealtimeModelInternetAccessEnabled (boolean or null)phoneEngine (string or null, max 20)Realtime (default) or Live. Live needs an active live model, and the default call model must support function calling.twilioAccountSID (string or null, max 100), twilioRegion (string or null)openAIProjectId, googleCloudProjectIds, azureCostResourceGroupScopes (string or null)hasTwilioAuthToken, hasOpenAIApiKey, hasGoogleMapsApiKey, hasAzureMapsApiKey (boolean, read only)models (array, read only)GET /api/Customers/models.PUT /api/Customers/me replaces the settings. Start from the object returned by GET, change what you need and send it back: an ordinary field you leave out or send as null is cleared. These fields are the exception and keep their stored value when blank or left out:
apiPassword, apiToken, graphClientSecret, twilioAuthToken, openAIApiKey, googleMapsApiKey, azureMapsApiKey. To remove one, send its flag: clearApiPassword, clearApiToken, clearGraphClientSecret, clearTwilioAuthToken, clearOpenAIApiKey, clearGoogleMapsApiKey, clearAzureMapsApiKey.twilioAccountSID (clear it with clearTwilioAccountSID) and phoneEngine....InternetAccessEnabled flags (null keeps them).ticketCleanupRetentionDays becomes 30 when left out.When you change apiBaseUrl or a mail server while a password or token is stored for it, send that secret again (or clear it); otherwise the update is refused, so a stored secret is never sent to a new address.
PUT /api/Customers/me
Authorization: Bearer <token>
Content-Type: application/json
{
"apiBaseUrl": "https://erp.example.com/api",
"apiUsername": "answerpal",
"apiAuthenticationType": "Basic",
"apiPassword": "new-secret",
"emailProviderType": "Office365",
"defaultEmailModelId": 12,
"defaultEmailModelInternetAccessEnabled": false,
"phoneEngine": "Realtime",
"ticketCleanupRetentionDays": 30
} GET /api/Customers/models
200 OK
[
{
"modelID": 12,
"purpose": "general",
"modelName": "gpt-5-mini",
"apiModelName": "gpt-5-mini",
"isActive": true,
"hasFunctionCalling": true,
"supportsWebSearch": true,
"isGlobal": true,
"isDefault": true,
"compatibleUsages": ["topics", "webchat", "email", "summary"]
}
] 204 No Content400 Bad Request403 Forbidden409 Conflictcode and a message.503 Service UnavailableEach item of GET /api/Customers/models describes one model:
modelID, modelName, apiModelNameo4-mini-high) and the provider’s model name.purpose and compatibleUsagesisActive, isFineTuned, isGlobal, isDefaultisGlobal is true for models available to every customer; isDefault is true when the customer uses the model as a default.hasTextInput, hasImageInput, hasAudioInput, hasVideoInput, hasTextOutput, hasImageOutput, hasAudioOutput, hasVideoOutput, hasFunctionCalling, hasStreaming, hasSystemMessages, hasReasoning, reasoningLevel, supportsFineTuning, supportsWebSearch.showInPrimaryList, requiredSubscriptionLevelGET /api/Customers/my-secrets only accepts a phone token from POST /api/Auth/phone-login. It returns openAIApiKey, openAIProjectId, openAIAdminApiKey, googleMapsApiKey, googleCloudProjectIds, azureCostResourceGroupScopes, twilioAccountSID, twilioAuthToken, twilioRegion and twiMLAppSID. Representative tokens get 403 Forbidden; integrations do not need this endpoint.
No. Reads only show has... flags. Send a new value to replace a secret or a clear... flag to remove it.
The update replaces the settings. Send the full object from GET /api/Customers/me with your changes; only secrets and a few listed fields are kept when left out.
Configurator and Administrator. Every signed-in user may read the customer and the models.
AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.
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