GET /api/Channels – Bearer JWT, customer representative rolesPOST /api/Channels – ManageSettingsGET /api/Channels/{id} – Bearer JWT, customer representative rolesPUT /api/Channels/{id} – ManageSettingsDELETE /api/Channels/{id} – ManageSettingsGET /api/Channels/{channelToken}/translations-by-token/{lang} – Public callback/token endpointGET /api/Channels/{id}/routing – Bearer JWT, customer representative rolesGET /api/Channels/{id}/topic-policy – ManageSettingsPUT /api/Channels/{id}/topic-policy – ManageSettingsPOST /api/Channels/import-emails – ImportEmailsPOST /api/Channels/{channelId}/import-emails – ImportEmailsPOST /api/Channels/test-connection – ManageSettingsConflict note: when a Microsoft Graph client secret has expired, import requests return 409 Conflict with code GraphClientSecretExpired.
GET /api/ChannelFolders/byChannel/{channelId}GET /api/ChannelFolders/fromMailbox/{channelId}POST /api/ChannelFoldersGET /api/ChannelFolders/{id}PUT /api/ChannelFolders/{id}DELETE /api/ChannelFolders/{id}Conflict note: duplicate folder links return 409 Conflict with code DuplicateChannelFolder.
GET /api/ChannelTranslations/byChannel/{channelId}POST /api/ChannelTranslationsGET /api/ChannelTranslations/{id}PUT /api/ChannelTranslations/{id}DELETE /api/ChannelTranslations/{id}Protected endpoints use Authorization: Bearer <token>. The API scopes reads and writes to the authenticated customer. Some operations require policies or roles:
ManageSettings: create, update, delete, topic policy and connection testing.ImportEmails: queue email import jobs./api/Channels/{channelToken}/translations-by-token/{lang}.channelTypenameconnectionDetailsisActiveautoRetrieveEmailshostnamesisDefaultTranslationChannelphoneNumberemailAddress, emailProviderTypeoverrideEmailSettings, overrideGraphTenantID, overrideGraphClientID, overrideGraphClientSecret, overrideGraphAuthorityURL, overrideGraphScopeoverrideImapServer, overrideImapPort, overrideImapUsername, overrideImapPassword, overrideImapUseSsloverrideSmtpServer, overrideSmtpPort, overrideSmtpUsername, overrideSmtpPassword, overrideSmtpUseSslchannelIDcustomerIDtokenfolderNameexternalFolderIDisActiveautoRetrieveEmailsfolderDirectionchannelIDfolderIDid, displayName, fullName, depth, isInboxchannelIDlangchatTitle, defaultGreeting, sendButtonTextescalatePrompt, availabilityCheck, agentJoinyesText, noText, youTextvalidEmail, submitButtonText, succesfulSubmissionchannelTranslationIDGET /api/Channels/{id}/routing returns ChannelRoutingReadDTO with channel id, name, type, scope mode, a routing definition, topics and URL/rule matches. GET /api/Channels/{id}/topic-policy returns ChannelTopicPolicyReadDTO with mode, included topic ids, excluded topic ids and topic lists.
POST /api/Channels/test-connection returns ChannelTestResult with providerType, imap and smtp. Each protocol result includes applicable, success, server, port, useSsl, error and durationMs.
Use GET /api/Channels. It returns channels scoped to the authenticated customer and requires one of the customer representative roles.
Use POST /api/Channels/test-connection with ChannelTestConnectionDTO. The response includes provider type and separate IMAP/SMTP protocol test results.
Use POST /api/Channels/import-emails for all channels or POST /api/Channels/{channelId}/import-emails for one channel. Both queue background jobs and accept an optional maxCount query parameter.
Use /api/ChannelTranslations for authenticated management, or GET /api/Channels/{channelToken}/translations-by-token/{lang} for public token-based retrieval.
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