
Мова 🇺🇦 Українська
Документація
Початок роботи
Довідник API
Використання
Агентські орендарі
Агрегація
Журнали аудиту
Автентифікація
Пакетні завдання
Блокування за коментарем
Перевірка заблокованих коментарів
Коментарі
Коментарі користувача
Конфігурації доменів
Шаблони електронних листів
Журнал подій
Публікації стрічки
Поскаржитися на коментар
GIF
Хештеги
Я
Модерація
Модератори
Кількість сповіщень
Сповіщення
Реакції на сторінки
Сторінки
Очікувані події вебхуків
Голоси в опитуваннях
Опитування
Конфігурації запитань
Результати запитань
Агрегація результатів запитань
SSO-користувачі
Підписки
Добове використання орендаря
Пакети орендаря
Користувачі орендаря
Орендарі
Звернення
Переклади
Завантаження зображень
Прогрес значків користувача
Значки користувача
Сповіщення користувача
Статуси присутності користувача
Пошук користувачів
Користувачі
Голоси
Вебхуки
FastComments Nim SDK
Це офіційний SDK на Nim для FastComments.
Офіційний Nim SDK для API FastComments
Репозиторій
AI-агенти для програмування 
Надайте вашому кодовому агенту контекст FastComments, який йому потрібен — віджети, конфігурація, Secure SSO, REST API та SDK:
npx skills add fastcomments/skills
Працює з Claude Code, Codex, Cursor, Copilot, Gemini та будь‑яким іншим агентом, який підтримує skills CLI.
Встановлення 
Використання Nimble
nimble install fastcomments
Збірка з джерела
nimble build
Вміст бібліотеки
Ця бібліотека містить згенерований клієнт API та утиліти SSO, які спрощують роботу з API.
Публічні та захищені API
Для клієнта API існує три модулі API: api_default, api_public та api_moderation. api_default містить методи, які вимагають ваш API‑ключ, а api_public містить виклики API,
які можна виконувати безпосередньо з браузера/мобільного пристрою тощо без автентифікації. Модуль api_moderation містить методи для панелі модератора.
Модуль api_moderation надає розширений набір живих та швидких API модерації. Кожен метод api_moderation приймає параметр sso і може автентифікуватися через SSO або за допомогою cookie сесії FastComments.com.
Швидкий старт 
Використання автентифікованих API (DefaultAPI)
Important: Автентифіковані кінцеві точки потребують, щоб ваш API ключ був встановлений у заголовок x-api-key.
import httpclient
import fastcomments
import fastcomments/apis/api_default
import fastcomments/models/model_comment_data
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
# Make authenticated API calls.
# Required parameters (and the request body) are positional; optional
# parameters are passed via the operation's options object.
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
options = GetCommentsOptions(
urlId: "your-url-id",
direction: SortDirections.DESC
)
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Використання публічних API (PublicAPI)
Публічні кінцеві точки не вимагають автентифікації:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Make public API calls.
# tenantId and urlId are required (positional); everything else is optional.
let (response, httpResponse) = getCommentsPublic(
httpClient = client,
tenantId = "your-tenant-id",
urlId = "your-url-id",
options = GetCommentsPublicOptions(
direction: SortDirections.DESC
)
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Використання модераційних API (ModerationAPI)
Модераційні кінцеві точки живлять панель модератора і автентифіковані за допомогою SSO токена для діючого модератора:
import httpclient
import fastcomments
import fastcomments/apis/api_moderation
let client = newHttpClient()
# List comments in the moderation dashboard.
# This operation has no required parameters, so everything is optional.
let (response, httpResponse) = getApiComments(
httpClient = client,
options = GetApiCommentsOptions(
count: 30,
tenantId: "your-tenant-id",
sso: "your-sso-token"
)
)
if response.isSome:
let resp = response.get()
echo "Found ", resp.comments.len, " comments"
Поширені проблеми
- 401 authentication error: Переконайтеся, що ви встановили заголовок
x-api-keyу вашому HttpClient перед виконанням запитів DefaultAPI:client.headers["x-api-key"] = "your-api-key" - Wrong API class: Використовуйте
api_defaultдля серверних автентифікованих запитів,api_publicдля клієнтських/публічних запитів, іapi_moderationдля запитів панелі модератора.
Виклики API 
Усі методи API в цьому SDK повертають кортежі (Option[ResponseType], Response). Перший елемент містить розпарсений відповідь, якщо успішно, а другий елемент — це необроблена HTTP‑відповідь.
Обов’язкові параметри та тіло запиту передаються позиційно. Решта необов’язкових параметрів збираються в один об’єкт Api<Operation>Options, який є останнім аргументом. Операції без необов’язкових параметрів не беруть об’єкт параметрів.
Приклад: отримання коментарів
import httpclient
import options
import fastcomments
import fastcomments/apis/api_default
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
options = GetCommentsOptions(
urlId: "your-url-id",
direction: SortDirections.DESC
)
)
if httpResponse.code == Http200:
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Примітки 
Ідентифікатори трансляцій
Ви побачите, що потрібно передавати broadcastId у деяких викликах API. Коли ви отримуєте події, ви отримаєте назад цей ідентифікатор, тож знатимете, що можна ігнорувати подію, якщо плануєте оптимістично застосувати зміни на клієнті (що, ймовірно, буде бажаним, оскільки забезпечує найкращий досвід). Передайте тут UUID. Ідентифікатор має бути достатньо унікальним, щоб не повторюватися двічі в одній сесії браузера.
SSO (Єдиний вхід)
Для прикладів SSO дивіться нижче.
Використання SSO 
Простий SSO
import fastcomments/sso
let user = newSimpleSSOUserData(
userId = "user-123",
email = "user@example.com",
avatar = "https://example.com/avatar.jpg",
username = "johndoe"
)
let sso = newSimple(simpleUserData = user)
let token = sso.createToken()
echo "SSO Token: ", token
Безпечний SSO
import fastcomments/sso
let user = newSecureSSOUserData(
userId = "user-123",
email = "user@example.com",
username = "johndoe",
avatar = "https://example.com/avatar.jpg"
)
let apiKey = "your-api-key"
let sso = newSecure(apiKey = apiKey, secureUserData = user)
let token = sso.createToken()
echo "Secure SSO Token: ", token
Документація для fastcomments 
Documentation for API Endpoints
All URIs are relative to https://fastcomments.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported. |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createAgentTenant | POST /api/v1/agent-tenants | Creates a new trial account for an AI agent without a human signup. No API key is needed to call this. The response contains the tenant id, an API key that works immediately against the REST API and the MCP server, and a claim URL. Give the claim URL to the human you are working for: opening it while logged in to FastComments attaches the account to them. Unclaimed accounts, and their keys, are deleted 72 hours after creation. Until claimed, the account has the standard trial limits. |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createPollVote | POST /api/v1/poll-votes | Record a vote on a poll, or move an existing one to a different option. A voter has at most one vote per poll, so calling this again for the same voter moves their vote rather than adding one. This obeys the site's poll settings: if voting is set to logged-in users only, a vote with just an anonUserId is rejected, and anonymous votes are rate limited per IP per poll. |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | createWebhook | POST /api/v1/webhooks | Subscribes a URL to a comment event (REST hook subscribe). Subscribing the same URL to the same event and domain again returns the existing subscription. Deliveries are HMAC signed, see the webhooks guide; the legacy token header is never sent to API subscriptions. |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deletePoll | DELETE /api/v1/polls/{commentId} | Remove a poll from its comment, along with every vote cast on it. The comment itself is left alone. |
| DefaultApi | deletePollVote | DELETE /api/v1/poll-votes/{id} | Retract a vote. The option it was cast on gives its tally back. |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | deleteWebhook | DELETE /api/v1/webhooks/{id} | Unsubscribes (REST hook unsubscribe). Only subscriptions created through this API can be deleted here; dashboard-managed webhooks are edited in the dashboard. |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getBatchJob | GET /api/v1/batch-jobs/{id} | Status, progress and, once done, the result of one batch job. |
| DefaultApi | getBatchJobs | GET /api/v1/batch-jobs | The tenant's batch jobs (imports, exports, page migrations...), newest first. |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | req tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getMe | GET /api/v1/me | Identifies the credential in use: the tenant it belongs to and, for OAuth tokens, the user who authorized it. Integrations use this to test a connection and label it. |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPageLikes | GET /api/v1/pages/likes | Like count for a page, optionally with the users who liked it. |
| DefaultApi | getPageReacts | GET /api/v1/pages/reacts | Custom react counts for a page, optionally with the users who reacted. |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getPoll | GET /api/v1/polls/{commentId} | |
| DefaultApi | getPollVote | GET /api/v1/poll-votes/{id} | |
| DefaultApi | getPollVotes | GET /api/v1/poll-votes | The individual votes behind one poll's tallies, oldest first. A poll belongs to a comment, so votes are always read one poll at a time - commentId is required. That keeps every query on the indexes the collection already has. Obeys the poll's privacy: an anonymous poll's votes cannot be read (poll-anonymous), here or by id. |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | getWebhookSamplePayloads | GET /api/v1/webhooks/sample-payloads | Recent comments in exactly the shape webhook deliveries use, for building integrations (for example Zapier sample data). Every event delivers the same comment object, so event only has to be valid. |
| DefaultApi | getWebhooks | GET /api/v1/webhooks | Lists the webhooks configured for the tenant, both dashboard-managed rows and API subscriptions. |
| DefaultApi | migratePages | POST /api/v1/pages/migrations | Queues a batch job that moves comments, pages and related records from one urlId or domain to another. "urlId" migrations only match the exact urlId. "domain" migrations find/replace the value inside every urlId and url. Poll GET /api/v1/batch-jobs/{batchJobId}: once it is done it carries per-migration results and an undoId. |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchPoll | PATCH /api/v1/polls/{commentId} | Edit a poll in place, keeping its tallies: change the question, relabel an option, close or reopen it, or change who may see the voters. Options are addressed by id - to add, remove or reorder them, PUT the full list. |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putPoll | PUT /api/v1/polls/{commentId} | Attach a poll to a comment, or set the full state of the poll it already has. Options are matched by id: an option sent with the id of an existing option keeps its votes (and takes the new label and position), an option sent without an id is added, and existing options left out of the list are removed along with the votes cast on them. Keeping no existing option ids on a poll that has votes deletes all of them, so that needs replaceVotes=true. |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | undoPageMigrations | POST /api/v1/pages/migrations/{undoId}/undo | Queues a batch job that reverses every migration from one migrate-pages job, newest first. Available for 90 days. Records changed since the migration are left alone, so a later edit is never overwritten. Poll GET /api/v1/batch-jobs/{batchJobId} for the restored/skipped counts. |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/mod_api/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/mod_api/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/mod_api/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/mod_api/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/mod_api/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/mod_api/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/mod_api/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/mod_api/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/mod_api/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/mod_api/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/mod_api/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/mod_api/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/mod_api/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | createV1PageReact | POST /page-reacts/v1/likes/{tenantId} | |
| PublicApi | createV2PageReact | POST /page-reacts/v2/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | deleteV1PageReact | DELETE /page-reacts/v1/likes/{tenantId} | |
| PublicApi | deleteV2PageReact | DELETE /page-reacts/v2/{tenantId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsForUser | GET /comments-for-user | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | req tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | req tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGifLarge | GET /gifs/get-large/{tenantId} | |
| PublicApi | getGifsSearch | GET /gifs/search/{tenantId} | |
| PublicApi | getGifsTrending | GET /gifs/trending/{tenantId} | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a "Members" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires enableFChat to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access. |
| PublicApi | getPollVoters | GET /polls/{tenantId}/{commentId}/voters | Who voted for which option. Anonymous polls never answer, admins-only polls answer only for an admin or moderator. |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | getUsersInfo | GET /pages/{tenantId}/users/info | Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). |
| PublicApi | getV1PageLikes | GET /page-reacts/v1/likes/{tenantId} | |
| PublicApi | getV2PageReactUsers | GET /page-reacts/v2/{tenantId}/list | |
| PublicApi | getV2PageReacts | GET /page-reacts/v2/{tenantId} | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | logoutPublic | PUT /auth/logout | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | translateComments | POST /comments/{tenantId}/translations | Translates the given comments into the widget locale. Only available when the matching widget customization rule has Comment Translation set to Automatic or Manual. |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Enable or disable notifications for a specific comment. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload and resize an image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote | |
| PublicApi | votePoll | PUT /polls/{tenantId}/{commentId}/vote |
Documentation for Models
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIBatchJob
- APIBatchJob_pageMigrationResults_inner
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APICustomEmailTemplate
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIFeedPost
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIHashTag
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIModerator
- APIPage
- APIPendingWebhookEvent
- APIPendingWebhookEventComment
- APIQuestionConfig
- APIQuestionConfigOption
- APIQuestionResult
- APIQuestionResultComment
- APIQuestionResultValue
- APIQuestionResultWithComment
- APIQuestionResultsWithComments
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITenantPackage
- APITenantUser
- APITicket
- APITicketDetail
- APITicketFile
- APIUser
- APIUserBadge
- APIUserBadgeProgress
- APIUserNotification
- APIUserNotificationCount
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponse_results_inner
- BulkPreBanParams
- BulkPreBanSummary
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentPoll
- CommentPollInput
- CommentPollOption
- CommentPollOptionInput
- CommentPollPatch
- CommentPollPatch_options_inner
- CommentPollPutInput
- CommentPollUpdate
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentTranslationMode
- CommentTranslationPublic
- CommentTranslationsRequest
- CommentTranslationsResponse
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CommentsByIdsParams
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateAgentTenantBody
- CreateAgentTenantResponse
- CreateCommentParams
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateFeedPostParams
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreatePollVoteBody
- CreatePollVoteResponse
- CreateQuestionConfigBody
- CreateQuestionConfigBody_customOptions_inner
- CreateQuestionConfigResponse
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTicketBody
- CreateTicketResponse
- CreateUserBadgeParams
- CreateV1PageReact
- CreateWebhookParams
- CreateWebhookResponse
- CustomConfigParameters
- DeleteCommentAction
- DeleteCommentResult
- DeleteDomainConfigResponse
- DeleteFeedPostPublicResponse
- DeleteHashTagRequestBody
- DeletePageAPIResponse
- DeletePollVoteResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FlagCommentResponse
- GetAuditLogsResponse
- GetBannedUsersCountResponse
- GetBannedUsersFromCommentResponse
- GetBatchJobAPIResponse
- GetBatchJobsAPIResponse
- GetCachedNotificationCountResponse
- GetCommentBanStatusResponse
- GetCommentTextResponse
- GetCommentVoteUserNamesSuccessResponse
- GetCommentsForUserResponse
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetDomainConfigResponse
- GetDomainConfigsResponse
- GetDomainConfigsResponse_anyOf
- GetDomainConfigsResponse_anyOf_1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateResponse
- GetEmailTemplatesResponse
- GetEventLogResponse
- GetFeedPostsResponse
- GetGifsSearchResponse
- GetGifsTrendingResponse
- GetHashTagsResponse
- GetMeResponse
- GetModeratorResponse
- GetModeratorsResponse
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPageLikesAPIResponse
- GetPageReactsAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventsResponse
- GetPollResponse
- GetPollVoteResponse
- GetPollVoterNamesSuccessResponse
- GetPollVotesResponse
- GetPublicFeedPostsResponse
- GetPublicPagesResponse
- GetQuestionConfigResponse
- GetQuestionConfigsResponse
- GetQuestionResultResponse
- GetQuestionResultsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsersResponse
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantManualBadgesResponse
- GetTenantPackageResponse
- GetTenantPackagesResponse
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUsersResponse
- GetTenantsResponse
- GetTicketResponse
- GetTicketsResponse
- GetTranslationsResponse
- GetUserInternalProfileResponse
- GetUserInternalProfileResponse_profile
- GetUserManualBadgesResponse
- GetUserNotificationCountResponse
- GetUserPresenceStatusesResponse
- GetUserResponse
- GetUserTrustFactorResponse
- GetV1PageLikes
- GetV2PageReactUsersResponse
- GetV2PageReacts
- GetVotesForUserResponse
- GetVotesResponse
- GetWebhookSamplePayloadsResponse
- GetWebhooksResponse
- GifGetLargeResponse
- GifRating
- GifSearchInternalError
- GifSearchResponse
- GifSearchResponse_images_inner_inner
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- MeAuthType
- MediaAsset
- MentionAutoCompleteMode
- MetaItem
- MigrateAPIPagesData
- ModerationAPIChildCommentsResponse
- ModerationAPIComment
- ModerationAPICommentLog
- ModerationAPICommentResponse
- ModerationAPICountCommentsResponse
- ModerationAPIGetCommentIdsResponse
- ModerationAPIGetCommentsResponse
- ModerationAPIGetLogsResponse
- ModerationCommentSearchResponse
- ModerationExportResponse
- ModerationExportStatusResponse
- ModerationFilter
- ModerationPageSearchProjected
- ModerationPageSearchResponse
- ModerationSiteSearchProjected
- ModerationSiteSearchResponse
- ModerationSuggestResponse
- ModerationTenantBadge
- ModerationUserBadge
- ModerationUserSearchProjected
- ModerationUserSearchResponse
- NotificationAndCount
- NotificationObjectType
- NotificationType
- OAuthScope
- PageCustomReactUser
- PageMigration
- PageMigrationFailure
- PageMigrationSuccess
- PageMigrationType
- PageMigrationUndoCounts
- PageReactIncludeUserInfo
- PageReactUser
- PageUserEntry
- PageUsersInfoResponse
- PageUsersOfflineResponse
- PageUsersOnlineResponse
- PagesSortBy
- PatchDomainConfigParams
- PatchDomainConfigResponse
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PollCreationMode
- PollPrivacy
- PollVoterEntry
- PollVotingMode
- PostRemoveCommentApiResponse
- PreBanSummary
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicCommentWithPage
- PublicFeedPostsResponse
- PublicPage
- PublicPollVote
- PublicVote
- PublicWebhook
- PutDomainConfigResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicate_value
- QuestionCondition
- QuestionConditionOperator
- QuestionDatum
- QuestionRenderingType
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- QueuePageMigrationJobAPIResponse
- ReactBodyParams
- ReactFeedPostResponse
- Record_string__before_string_or_null__after_string_or_null___value
- Record_string_string_or_number_or_number_Array__value
- RemoveCommentActionResponse
- RemoveUserBadgeResponse
- RenderEmailTemplateBody
- RenderEmailTemplateResponse
- RenderableUserNotification
- ReplaceTenantPackageBody
- ReplaceTenantUserBody
- ResetUserNotificationsResponse
- SORT_DIR
- SSOSecurityLevel
- SaveCommentResponseOptimized
- SaveCommentsBulkResponse
- SaveCommentsResponseWithPresence
- SaveCustomEmailTemplateData
- SaveCustomEmailTemplateParams
- SaveCustomEmailTemplateResponse
- SavePollResponse
- SearchUsersResponse
- SearchUsersResult
- SearchUsersSectionedResponse
- SetCommentApprovedResponse
- SetCommentTextParams
- SetCommentTextResponse
- SetCommentTextResult
- SetUserTrustFactorResponse
- SizePreset
- SortDirections
- SpamRule
- SubQuestionCondition
- TOSConfig
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateAPIUserSubscriptionData
- UpdateDomainConfigParams
- UpdateEmailTemplateBody
- UpdateFeedPostParams
- UpdateHashTagBody
- UpdateHashTagResponse
- UpdateModeratorBody
- UpdateNotificationBody
- UpdateQuestionConfigBody
- UpdateQuestionResultBody
- UpdateSubscriptionAPIResponse
- UpdateTenantBody
- UpdateTenantPackageBody
- UpdateTenantUserBody
- UpdateUserBadgeParams
- UpdateUserNotificationCommentSubscriptionStatusResponse
- UpdateUserNotificationPageSubscriptionStatusResponse
- UpdateUserNotificationStatusResponse
- UploadImageResponse
- UserNotification
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSearchSection
- UserSearchSectionResult
- UserSessionInfo
- UsersListLocation
- VoteBodyParams
- VoteDeleteResponse
- VotePollBody
- VotePollResponse
- VoteResponse
- VoteResponseUser
- VoteStyle
- WebhookComment
- WebhookEventName
- WebhookHTTPMethod
- WebhookSource
Documentation for Authorization
api_key
- Type: API key
- API key parameter name: x-api-key
- Location: HTTP header
createAgentTenant 
Створює новий пробний обліковий запис для AI-агента без участі людини. Для виклику не потрібен API-ключ.
Відповідь містить ідентифікатор орендаря (tenant id), API-ключ, який одразу працює з REST API та MCP-сервером, а також URL для прив'язки облікового запису. Передайте цей URL людині, для якої ви працюєте: відкривши його, увійшовши до FastComments, вона прив'яже обліковий запис до себе. Неприв'язані облікові записи та їхні ключі видаляються через 72 години після створення. До прив'язки обліковий запис має стандартні обмеження пробного періоду.
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| createAgentTenantBody | CreateAgentTenantBody | Ні |
Відповідь
Повертає: Option[CreateAgentTenantResponse]
Приклад

aggregate 
Агрегує документи, групуючи їх (якщо зазначено groupBy) і застосовуючи кілька операцій.
Різні операції (наприклад, sum, countDistinct, avg тощо) підтримуються.
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | No | |
| options | AggregateOptions | No |
Відповідь
Returns: Option[AggregateResponse]
Приклад

getAuditLogs 
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| options | GetAuditLogsOptions | Ні |
Відповідь
Повертає: Option[GetAuditLogsResponse]
Приклад

logoutPublic 
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

getBatchJob 
Статус, прогрес та, після завершення, результат одного пакетного завдання.
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні |
Відповідь
Повертає: Option[GetBatchJobAPIResponse]
Приклад

getBatchJobs 
Пакетні завдання орендаря (імпорти, експорти, міграції сторінок...), від найновіших до найстаріших.
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| options | GetBatchJobsOptions | Ні |
Відповідь
Повертає: Option[GetBatchJobsAPIResponse]
Приклад

blockFromCommentPublic 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[BlockSuccess]
Приклад

unBlockCommentPublic 
Параметри
| Ім'я | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | No | |
| sso | string = "" | No |
Відповідь
Повертає: Option[UnblockSuccess]
Приклад

checkedCommentsForBlocked 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentIds | string | No | |
| sso | string = "" | No |
Відповідь
Повертає: Option[CheckBlockedCommentsResponse]
Приклад

blockUserFromComment 
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| blockFromCommentParams | BlockFromCommentParams | No | |
| options | BlockUserFromCommentOptions | No |
Відповідь
Повертає: Option[BlockSuccess]
Приклад

createCommentPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | No | |
| commentData | CommentData | No | |
| options | CreateCommentPublicOptions | No |
Відповідь
Повертає: Option[SaveCommentsResponseWithPresence]
Приклад

deleteComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| options | DeleteCommentOptions | No |
Відповідь
Повертає: Option[DeleteCommentResult]
Приклад

deleteCommentPublic 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| options | DeleteCommentPublicOptions | No |
Відповідь
Повертає: Option[PublicAPIDeleteCommentResponse]
Приклад

deleteCommentVote 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| voteId | string | Ні | |
| urlId | string | Так | |
| broadcastId | string | Ні | |
| options | DeleteCommentVoteOptions | Ні |
Відповідь
Повертає: Option[VoteDeleteResponse]
Приклад

flagComment 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| options | FlagCommentOptions | No |
Відповідь
Повертає: Option[FlagCommentResponse]
Приклад

getComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No |
Відповідь
Повертає: Option[APIGetCommentResponse]
Приклад

getComments 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| options | GetCommentsOptions | No |
Відповідь
Повертає: Option[APIGetCommentsResponse]
Приклад

getCommentsPublic 
req tenantId urlId
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | GetCommentsPublicOptions | No |
Відповідь
Повертає: Option[GetCommentsResponseWithPresencePublicComment]
Приклад

getCommentText 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| options | GetCommentTextOptions | Ні |
Відповідь
Повертає: Option[PublicAPIGetCommentTextResponse]
Приклад

getCommentVoteUserNames 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| dir | int | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[GetCommentVoteUserNamesSuccessResponse]
Приклад

lockComment 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| broadcastId | string | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

pinComment 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| broadcastId | string | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[ChangeCommentPinStatusResponse]
Приклад

saveComment 
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| createCommentParams | CreateCommentParams | Ні | |
| options | SaveCommentOptions | Ні |
Відповідь
Повертає: Option[APISaveCommentResponse]
Приклад

saveCommentsBulk 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| createCommentParams | seq[CreateCommentParams] | Ні | |
| options | SaveCommentsBulkOptions): (Option[seq[SaveCommentsBulkResponse]] | Ні | |
| id | string | Ні | |
| fromName | string | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

setCommentText 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| commentTextUpdateRequest | CommentTextUpdateRequest | No | |
| options | SetCommentTextOptions | No |
Відповідь
Повертає: Option[PublicAPISetCommentTextResponse]
Приклад

translateComments 
Перекладає вказані коментарі мовою віджета. Доступно лише тоді, коли відповідне правило налаштування віджета має Comment Translation зі значенням Automatic або Manual.
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| urlId | string | Так | |
| commentTranslationsRequest | CommentTranslationsRequest | Ні | |
| options | TranslateCommentsOptions | Ні |
Відповідь
Повертає: Option[CommentTranslationsResponse]
Приклад

unBlockUserFromComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| unBlockFromCommentParams | UnBlockFromCommentParams | No | |
| options | UnBlockUserFromCommentOptions | No |
Відповідь
Повертає: Option[UnblockSuccess]
Приклад

unFlagComment 
Параметри
| Ім'я | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні | |
| options | UnFlagCommentOptions | Ні |
Відповідь
Повертає: Option[FlagCommentResponse]
Приклад

unLockComment 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| sso | string = "" | No |
Відповідь
Returns: Option[APIEmptyResponse]
Приклад

unPinComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Так | |
| commentId | string | Так | |
| broadcastId | string | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[ChangeCommentPinStatusResponse]
Приклад

updateComment 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні | |
| updatableCommentParams | UpdatableCommentParams | Ні | |
| options | UpdateCommentOptions | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

voteComment 
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | No | |
| voteBodyParams | VoteBodyParams | No | |
| options | VoteCommentOptions | No |
Відповідь
Повертає: Option[VoteResponse]
Приклад

getCommentsForUser 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| options | GetCommentsForUserOptions | No |
Відповідь
Повертає: Option[GetCommentsForUserResponse]
Приклад

addDomainConfig 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| addDomainConfigParams | AddDomainConfigParams | No |
Відповідь
Повертає: Option[AddDomainConfigResponse]
Приклад

deleteDomainConfig 
Параметри
| Ім'я | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | No |
Відповідь
Повертає: Option[DeleteDomainConfigResponse]
Приклад

getDomainConfig 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Так | |
| domain | string | Ні |
Відповідь
Повертає: Option[GetDomainConfigResponse]
Приклад

getDomainConfigs 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes |
Відповідь
Повертає: Option[GetDomainConfigsResponse]
Приклад

patchDomainConfig 
Parameters
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| domainToUpdate | string | Ні | |
| patchDomainConfigParams | PatchDomainConfigParams | Ні |
Response
Повертає: Option[PatchDomainConfigResponse]
Example

putDomainConfig 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | No | |
| updateDomainConfigParams | UpdateDomainConfigParams | No |
Відповідь
Повертає: Option[PutDomainConfigResponse]
Приклад

createEmailTemplate 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | No |
Відповідь
Повертає: Option[CreateEmailTemplateResponse]
Приклад

deleteEmailTemplate 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

deleteEmailTemplateRenderError 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні | |
| errorId | string | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

getEmailTemplate 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні |
Відповідь
Повертає: Option[GetEmailTemplateResponse]
Приклад

getEmailTemplateDefinitions 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes |
Відповідь
Повертає: Option[GetEmailTemplateDefinitionsResponse]
Приклад

getEmailTemplateRenderErrors 
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| skip | float64 | No |
Відповідь
Повертає: Option[GetEmailTemplateRenderErrorsResponse]
Приклад

getEmailTemplates 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | float64 | No |
Відповідь
Returns: Option[GetEmailTemplatesResponse]
Приклад

renderEmailTemplate 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Ні | |
| locale | string = "" | Ні |
Відповідь
Повертає: Option[RenderEmailTemplateResponse]
Приклад

updateEmailTemplate 
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| id | string | Ні | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ні |
Відповідь
Повертає: Option[APIEmptyResponse]
Приклад

getEventLog 
req tenantId urlId userIdWS
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | No | |
| startTime | int64 | No | |
| endTime | int64 | No |
Відповідь
Повертає: Option[GetEventLogResponse]
Приклад

getGlobalEventLog 
req tenantId urlId userIdWS
Параметри
| Назва | Тип | Обов’язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| urlId | string | Так | |
| userIdWS | string | Ні | |
| startTime | int64 | Ні | |
| endTime | int64 | Ні |
Відповідь
Повертає: Option[GetEventLogResponse]
Приклад

createFeedPost 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | No | |
| options | CreateFeedPostOptions | No |
Відповідь
Returns: Option[CreateFeedPostsResponse]
Приклад

createFeedPostPublic 
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| createFeedPostParams | CreateFeedPostParams | Ні | |
| options | CreateFeedPostPublicOptions | Ні |
Відповідь
Повертає: Option[CreateFeedPostResponse]
Приклад

deleteFeedPostPublic 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| postId | string | Ні | |
| options | DeleteFeedPostPublicOptions | Ні |
Відповідь
Повертає: Option[DeleteFeedPostPublicResponse]
Приклад

getFeedPosts 
req tenantId afterId
Параметри
| Назва | Тип | Обов'язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| options | GetFeedPostsOptions | Ні |
Відповідь
Повертає: Option[GetFeedPostsResponse]
Приклад

getFeedPostsPublic 
req tenantId afterId
Параметри
| Назва | Тип | Обов'язковий | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| options | GetFeedPostsPublicOptions | Ні |
Відповідь
Повертає: Option[PublicFeedPostsResponse]
Приклад

getFeedPostsStats 
Параметри
| Назва | Тип | Обов’язково | Опис |
|---|---|---|---|
| tenantId | string | Так | |
| postIds | seq[string] | Ні | |
| sso | string = "" | Ні |
Відповідь
Повертає: Option[FeedPostsStatsResponse]
Приклад
