
Idioma 🇪🇸 Español
Documentación
Comenzando
Referencia de API
Uso
Inquilinos de agente
Agregado
Registros de auditoría
Bloquear desde comentario
Verificar comentarios bloqueados
Comentarios
Comentarios para usuario
Configuraciones de dominio
Plantillas de correo electrónico
Registro de eventos
Publicaciones del feed
Traducciones
Denunciar comentario
GIFs
Etiquetas
Yo
Moderación
Moderadores
Conteo de notificaciones
Notificaciones
Reacciones de página
Páginas
Eventos de webhook pendientes
Votos de encuesta
Encuestas
Configuraciones de preguntas
Resultados de preguntas
Agregación de resultados de preguntas
Usuarios SSO
Suscripciones
Uso diario del inquilino
Paquetes de inquilino
Usuarios del inquilino
Inquilinos
Tickets
Translations
Subir imagen
Progreso de insignias de usuario
Insignias de usuario
Notificaciones de usuario
Estado de presencia del usuario
Búsqueda de usuarios
Usuarios
Votos
Webhooks
SDK de JavaScript/TypeScript de FastComments
Este es el SDK oficial de JavaScript/TypeScript para FastComments.
Administra comentarios, usuarios, SSO y moderación desde Node.js o el navegador.
Repositorio
Agentes de codificación IA 
Proporcione a su agente de codificación el contexto de FastComments que necesita: widgets, configuración, Secure SSO, la API REST y los SDK:
npx skills add fastcomments/skills
Funciona con Claude Code, Codex, Cursor, Copilot, Gemini y cualquier otro agente que soporte la CLI de skills soporta.
Documentación de API 
Referencia completa de la API: docs/api/README.md
Compatibilidad Navegador vs Servidor 
Este SDK utiliza puntos de entrada duales para garantizar la compatibilidad óptima y prevenir errores en tiempo de ejecución:
fastcomments-sdk/browser- Versión segura para el navegador confetchnativofastcomments-sdk/server- Versión completa para Node.js con soporte SSOfastcomments-sdk(predeterminado) - Solo tipos, seguro de importar en cualquier lugar
Uso 
Este SDK proporciona puntos de entrada separados para entornos de navegador y servidor para garantizar la compatibilidad y seguridad óptimas:
Browser Usage (Client-Side)
Para aplicaciones de navegador/frontend, use la exportación segura para navegadores que excluye dependencias de Node.js:
// Browser-safe import (no Node.js dependencies)
import { createFastCommentsBrowserSDK } from 'fastcomments-sdk/browser';
// Create browser SDK instance
const sdk = createFastCommentsBrowserSDK({
basePath: 'https://fastcomments.com' // optional, defaults to https://fastcomments.com
});
// Use public APIs (no API key needed - safe for browsers)
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
Server Usage (Node.js)
Para aplicaciones de servidor/backend, use el SDK completo con SSO y características de autenticación:
// Server-side import (includes SSO and designed to work with NodeJS)
import { createFastCommentsSDK } from 'fastcomments-sdk/server';
// Create server SDK instance
const sdk = createFastCommentsSDK({
apiKey: 'your-api-key', // Keep this secret on the server!
basePath: 'https://fastcomments.com' // optional, defaults to https://fastcomments.com
});
// Use secured APIs with your API key
const comments = await sdk.defaultApi.getComments({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
Types Only Import
Si solo necesita tipos de TypeScript (sin código en tiempo de ejecución), use la importación por defecto:
// Types only (no runtime dependencies - safe everywhere)
import type {
PublicComment,
CreateCommentParams,
GetCommentsPublic200Response
} from 'fastcomments-sdk';
Using Individual API Classes
Browser Environment
import { PublicApi, Configuration } from 'fastcomments-sdk/browser';
const config = new Configuration({
basePath: 'https://fastcomments.com'
});
const publicApi = new PublicApi(config);
Server Environment
import { DefaultApi, PublicApi, Configuration } from 'fastcomments-sdk/server';
const config = new Configuration({
apiKey: 'your-api-key',
basePath: 'https://fastcomments.com'
});
const defaultApi = new DefaultApi(config);
const publicApi = new PublicApi(config);
APIs Públicas vs Seguras 
El SDK proporciona estas clases de API:
DefaultApi- Endpoints seguros que requieren tu clave de API para la autenticación. Úsalos para operaciones del lado del servidor.PublicApi- Endpoints públicos a los que se puede acceder sin una clave de API. Pueden llamarse directamente desde navegadores/dispositivos móviles/etc.ModerationApi- Endpoints del panel de moderación (moderación de comentarios, expulsiones, insignias, factor de confianza, búsqueda). Autenticados mediante la sesión del moderador; pasa el parámetro de consultassopara moderadores autenticados por SSO.HiddenApi- Endpoints internos/administrativos para casos de uso avanzados.
Ejemplo: Uso de la API pública (seguro para navegador)
import { PublicApi } from 'fastcomments-sdk/browser';
const publicApi = new PublicApi();
// Obtener comentarios para una página (no se requiere clave de API)
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
Ejemplo: Uso de la API predeterminada (solo del lado del servidor)
import { DefaultApi, Configuration } from 'fastcomments-sdk/server';
const config = new Configuration({
apiKey: 'your-api-key' // ¡Mantén esto en secreto!
});
const defaultApi = new DefaultApi(config);
// Obtener comentarios con acceso administrativo completo
const response = await defaultApi.getComments({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
Ejemplo: Uso de la API de moderación
import { createFastCommentsSDK } from 'fastcomments-sdk/server';
const sdk = createFastCommentsSDK({ /* basePath, etc. */ });
// Llamadas autenticadas por moderador (cookie de sesión, o pasar `sso` para un moderador SSO).
const comments = await sdk.moderationApi.getApiComments({
tenantId: 'your-tenant-id'
});
await sdk.moderationApi.postSetCommentSpamStatus({
commentId: 'comment-id',
spam: true
});
Integración SSO (Inicio de sesión único) 
FastComments admite SSO para integrarse con su sistema de autenticación de usuarios existente. La funcionalidad SSO solo está disponible en la exportación del servidor ya que requiere funciones criptográficas de Node.js.
SSO simple (solo en el servidor)
El SSO simple debe generarse en el servidor y enviarse al cliente:
// Código del lado del servidor (Node.js/backend)
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
// Crear SSO simple usando el auxiliar integrado
const userData = {
username: 'john_doe',
email: 'john@example.com',
displayName: 'John Doe',
avatar: 'https://example.com/avatar.jpg'
};
const sso = FastCommentsSSO.createSimple(userData, {
loginURL: '/login',
logoutURL: '/logout'
});
const ssoToken = sso.createToken();
// Envíe ssoToken a su código del lado del cliente
// El código del lado del cliente puede entonces usar este token con el SDK para navegador
SSO seguro (lado del servidor, recomendado)
El SSO seguro debe implementarse en el servidor y ofrece mayor seguridad:
// Código del lado del servidor (Node.js/backend)
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
// Crear SSO seguro usando el auxiliar integrado
const userData = {
id: 'user-123',
email: 'john@example.com',
username: 'john_doe',
displayName: 'John Doe',
avatar: 'https://example.com/avatar.jpg',
isAdmin: false,
isModerator: false
};
const sso = FastCommentsSSO.createSecure('your-api-key', userData, {
loginURL: '/login',
logoutURL: '/logout'
});
const ssoConfig = sso.prepareToSend();
// Usar con llamadas a la API en el servidor
const publicApi = new PublicApi();
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
sso: JSON.stringify(ssoConfig)
});
// O enviar ssoConfig al cliente para uso en el navegador
Uso de SSO desde el navegador (con token generado por el servidor)
// Código del lado del cliente (navegador)
import { PublicApi } from 'fastcomments-sdk/browser';
// Obtener el token SSO desde su endpoint en el servidor
const ssoToken = await fetch('/api/sso-token').then(r => r.json());
const publicApi = new PublicApi();
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
sso: ssoToken // Usar el token SSO generado por el servidor
});
SSO con creación de comentarios
// Lado del servidor: crear SSO y comentario
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
const sso = FastCommentsSSO.createSecure('your-api-key', userData);
const ssoConfig = sso.prepareToSend();
const response = await publicApi.createCommentPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
broadcastId: 'unique-broadcast-id',
commentData: {
comment: 'This is my comment',
date: Date.now(),
commenterName: 'John Doe',
url: 'https://example.com/page',
urlId: 'page-url-id'
},
sso: JSON.stringify(ssoConfig)
});
Casos de uso comunes 
Obtener comentarios para una página
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'article-123'
});
Crear un comentario
const newComment = await sdk.publicApi.createCommentPublic({
createCommentParams: {
tenantId: 'your-tenant-id',
urlId: 'article-123',
comment: 'Great article!',
commenterName: 'John Doe',
commenterEmail: 'john@example.com'
}
});
Votar en un comentario
const voteResponse = await sdk.publicApi.voteComment({
voteBodyParams: {
commentId: 'comment-id',
direction: 1 // 1 para voto a favor, -1 para voto en contra
}
});
Gestión de usuarios (requiere clave de API)
// Buscar usuarios (requiere DefaultApi)
const users = await sdk.defaultApi.searchUsers({
tenantId: 'your-tenant-id',
urlId: 'page-id',
usernameStartsWith: 'john'
});
Eventos en vivo (actualizaciones en tiempo real) 
Suscríbete a eventos en vivo para recibir actualizaciones en tiempo real sobre comentarios, votos y otras actividades.
Eventos a nivel de página
Escucha eventos en vivo en una página específica (comentarios, votos, etc.):
import { subscribeToChanges, LiveEvent, LiveEventType } from 'fastcomments-sdk/browser';
const config = {
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
};
// Suscribirse a eventos en vivo para una página
const subscription = subscribeToChanges(
config,
'your-tenant-id', // tenantIdWS
'page-url-id', // urlIdWS
'user-session-id', // userIdWS (obtén esto de la respuesta de getComments)
(event: LiveEvent) => {
console.log('Live event received:', event);
switch (event.type) {
case LiveEventType.new_comment:
console.log('New comment:', event.comment);
// Actualiza tu UI con el nuevo comentario
break;
case LiveEventType.new_vote:
console.log('New vote:', event.vote);
// Actualiza los contadores de votos en tu UI
break;
case LiveEventType.updated_comment:
console.log('Comment updated:', event.comment);
break;
default:
console.log('Other event type:', event.type);
}
return true; // Devuelve true si el evento fue procesado
},
(isConnected: boolean) => {
console.log('Connection status:', isConnected ? 'Connected' : 'Disconnected');
}
);
// Cierra la suscripción cuando hayas terminado
subscription.close();
Suscribirse a eventos de usuario
Escucha eventos específicos del usuario (notificaciones, menciones, etc.):
import { subscribeToUserFeed, LiveEvent, LiveEventType } from 'fastcomments-sdk/browser';
const userConfig = {
userIdWS: 'user-session-id', // Obtén esto de la respuesta de getComments
};
// Suscribirse al feed personal del usuario
const userSubscription = subscribeToUserFeed(
userConfig,
(event: LiveEvent) => {
console.log('User event received:', event);
switch (event.type) {
case LiveEventType.notification:
console.log('New notification:', event.notification);
// Muestra la notificación en tu UI
break;
case LiveEventType.notification_update:
console.log('Notification updated:', event.notification);
break;
default:
console.log('Other user event:', event.type);
}
return true;
},
(isConnected: boolean) => {
console.log('User feed connection:', isConnected ? 'Connected' : 'Disconnected');
}
);
// Cierra cuando hayas terminado
userSubscription.close();
Obtener userIdWS
El parámetro userIdWS es requerido para eventos en vivo y puede obtenerse de las respuestas de la API:
const response = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-id'
});
// Extrae userIdWS de la respuesta
const userIdWS = response.data?.userSessionInfo?.userIdWS;
if (userIdWS) {
// Ahora puedes suscribirte a eventos en vivo
const subscription = subscribeToChanges(config, tenantIdWS, urlIdWS, userIdWS, handleEvent);
}
IDs de transmisión 
Verás que debes pasar un broadcastId en algunas llamadas a la API. Cuando recibas eventos, obtendrás este ID de vuelta, de modo que sepas ignorar el evento si planeas aplicar los cambios de forma optimista en el cliente (lo cual probablemente querrás hacer, ya que ofrece la mejor experiencia). Pasa un UUID aquí. El ID debe ser lo suficientemente único como para no ocurrir dos veces en una sesión del navegador.
import { v4 as uuidv4 } from 'uuid';
const response = await sdk.publicApi.createCommentPublic({
createCommentParams: {
tenantId: 'your-tenant-id',
urlId: 'page-id',
comment: 'My comment',
broadcastId: uuidv4() // ID único para esta operación
}
});
Manejo de errores 
try {
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-id'
});
} catch (error) {
if (error.response?.status === 404) {
console.log('Page not found');
} else {
console.error('API Error:', error.message);
}
}
createAgentTenant 
Crea una nueva cuenta de prueba para un agente de IA sin un registro humano. No se necesita una clave API para llamar a este.
La respuesta contiene el ID del inquilino, una clave API que funciona inmediatamente contra la API REST y el servidor MCP, y una URL de reclamación. Proporcione la URL de reclamación a la persona para la que está trabajando: abrirla mientras está conectado a FastComments asocia la cuenta a ella. Las cuentas no reclamadas, y sus claves, se eliminan 72 horas después de su creación. Hasta que se reclamen, la cuenta tiene los límites de prueba estándar.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| createAgentTenantBody | CreateAgentTenantBody | Yes |
Response
Devuelve: CreateAgentTenantResponse
Example

aggregate 
Agrega documentos agrupándolos (si se proporciona groupBy) y aplicando múltiples operaciones.
Se admiten diferentes operaciones (p. ej., sum, countDistinct, avg, etc.).
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| aggregationRequest | AggregationRequest | Sí | |
| parentTenantId | string | No | |
| includeStats | boolean | No |
Respuesta
Devuelve: AggregateResponse
Ejemplo

getAuditLogs 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| limit | number | No | |
| skip | number | No | |
| order | SORTDIR | No | |
| after | number | No | |
| before | number | No | |
| username | string | No | |
| ip | string | No | |
| crudType | string | No | |
| resourceName | string | No | |
| targetId | string | No | |
| target | string | No | |
| includeManagedTenants | boolean | No |
Respuesta
Devuelve: GetAuditLogsResponse
Ejemplo

blockFromCommentPublic 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Sí | |
| sso | string | No |
Respuesta
Devuelve: BlockSuccess
Ejemplo

unBlockCommentPublic 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
Respuesta
Devuelve: UnblockSuccess
Ejemplo

checkedCommentsForBlocked 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentIds | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: CheckBlockedCommentsResponse
Ejemplo

blockUserFromComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| blockFromCommentParams | BlockFromCommentParams | Sí | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: BlockSuccess
Ejemplo

createCommentPublic 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| broadcastId | string | Sí | |
| commentData | CommentData | Sí | |
| sessionId | string | No | |
| sso | string | No |
Respuesta
Devuelve: SaveCommentsResponseWithPresence
Ejemplo

deleteComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| contextUserId | string | No | |
| isLive | boolean | No |
Respuesta
Returns: DeleteCommentResult
Ejemplo

deleteCommentPublic 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | Sí | |
| editKey | string | No | |
| sso | string | No |
Respuesta
Devuelve: PublicAPIDeleteCommentResponse
Ejemplo

deleteCommentVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| voteId | string | Sí | |
| urlId | string | Sí | |
| broadcastId | string | Sí | |
| editKey | string | No | |
| sso | string | No |
Respuesta
Devuelve: VoteDeleteResponse
Ejemplo

flagComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: FlagCommentResponse
Ejemplo

getComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIGetCommentResponse
Ejemplo

getComments 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| page | number | No | |
| limit | number | No | |
| skip | number | No | |
| asTree | boolean | No | |
| skipChildren | number | No | |
| limitChildren | number | No | |
| maxTreeDepth | number | No | |
| urlId | string | No | |
| userId | string | No | |
| anonUserId | string | No | |
| contextUserId | string | No | |
| hashTag | string | No | |
| parentId | string | No | |
| direction | SortDirections | No | |
| fromDate | number | No | |
| toDate | number | No |
Respuesta
Devuelve: APIGetCommentsResponse
Ejemplo

getCommentsPublic 
req tenantId urlId
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| page | number | No | |
| direction | SortDirections | No | |
| sso | string | No | |
| skip | number | No | |
| skipChildren | number | No | |
| limit | number | No | |
| limitChildren | number | No | |
| countChildren | boolean | No | |
| fetchPageForCommentId | string | No | |
| includeConfig | boolean | No | |
| countAll | boolean | No | |
| includei10n | boolean | No | |
| locale | string | No | |
| modules | string | No | |
| isCrawler | boolean | No | |
| includeNotificationCount | boolean | No | |
| asTree | boolean | No | |
| maxTreeDepth | number | No | |
| useFullTranslationIds | boolean | No | |
| parentId | string | No | |
| searchText | string | No | |
| hashTags | Array | No | |
| userId | string | No | |
| customConfigStr | string | No | |
| afterCommentId | string | No | |
| beforeCommentId | string | No |
Response
Devuelve: GetCommentsResponseWithPresencePublicComment
Example

getCommentText 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| editKey | string | No | |
| sso | string | No |
Respuesta
Devuelve: PublicAPIGetCommentTextResponse
Ejemplo

getCommentVoteUserNames 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| dir | number | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetCommentVoteUserNamesSuccessResponse
Ejemplo

lockComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

pinComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: ChangeCommentPinStatusResponse
Ejemplo

saveComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createCommentParams | CreateCommentParams | Sí | |
| isLive | boolean | No | |
| doSpamCheck | boolean | No | |
| sendEmails | boolean | No | |
| populateNotifications | boolean | No |
Respuesta
Devuelve: APISaveCommentResponse
Ejemplo

saveCommentsBulk 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| createCommentParams | Array | Yes | |
| isLive | boolean | No | |
| doSpamCheck | boolean | No | |
| sendEmails | boolean | No | |
| populateNotifications | boolean | No |
Respuesta
Devuelve: Array<SaveCommentsBulkResponse
Ejemplo

setCommentText 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | Sí | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Sí | |
| editKey | string | No | |
| sso | string | No |
Respuesta
Devuelve: PublicAPISetCommentTextResponse
Ejemplo

unBlockUserFromComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Sí | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: UnblockSuccess
Ejemplo

unFlagComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: FlagCommentResponse
Ejemplo

unLockComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

unPinComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Respuesta
Devuelve: ChangeCommentPinStatusResponse
Ejemplo

updateComment 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updatableCommentParams | UpdatableCommentParams | Sí | |
| contextUserId | string | No | |
| doSpamCheck | boolean | No | |
| isLive | boolean | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

voteComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| urlId | string | Sí | |
| broadcastId | string | Sí | |
| voteBodyParams | VoteBodyParams | Sí | |
| sessionId | string | No | |
| sso | string | No |
Respuesta
Devuelve: VoteResponse
Ejemplo

getCommentsForUser 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| userId | string | No | |
| direction | SortDirections | No | |
| repliesToUserId | string | No | |
| page | number | No | |
| includei10n | boolean | No | |
| locale | string | No | |
| isCrawler | boolean | No |
Respuesta
Devuelve: GetCommentsForUserResponse
Ejemplo

addDomainConfig 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| addDomainConfigParams | AddDomainConfigParams | Sí |
Respuesta
Devuelve: AddDomainConfigResponse
Ejemplo

deleteDomainConfig 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| domain | string | Sí |
Respuesta
Devuelve: DeleteDomainConfigResponse
Ejemplo

getDomainConfig 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | Yes |
Respuesta
Devuelve: GetDomainConfigResponse
Ejemplo

getDomainConfigs 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí |
Respuesta
Devuelve: GetDomainConfigsResponse
Ejemplo

patchDomainConfig 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| patchDomainConfigParams | PatchDomainConfigParams | Yes |
Respuesta
Devuelve: PatchDomainConfigResponse
Ejemplo

putDomainConfig 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| updateDomainConfigParams | UpdateDomainConfigParams | Yes |
Response
Returns: PutDomainConfigResponse
Example

createEmailTemplate 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createEmailTemplateBody | CreateEmailTemplateBody | Sí |
Respuesta
Devuelve: CreateEmailTemplateResponse
Ejemplo

deleteEmailTemplate 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

deleteEmailTemplateRenderError 
Parameters
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| errorId | string | Sí |
Response
Devuelve: APIEmptyResponse
Example

getEmailTemplate 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetEmailTemplateResponse
Ejemplo

getEmailTemplateDefinitions 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes |
Respuesta
Devuelve: GetEmailTemplateDefinitionsResponse
Ejemplo

getEmailTemplateRenderErrors 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetEmailTemplateRenderErrorsResponse
Ejemplo

getEmailTemplates 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetEmailTemplatesResponse
Ejemplo

renderEmailTemplate 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Sí | |
| locale | string | No |
Respuesta
Devuelve: RenderEmailTemplateResponse
Ejemplo

updateEmailTemplate 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getEventLog 
solicitud
tenantId
urlId
userIdWS
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| userIdWS | string | Sí | |
| startTime | number | Sí | |
| endTime | number | No |
Respuesta
Devuelve: GetEventLogResponse
Ejemplo

getGlobalEventLog 
solicitud tenantId urlId userIdWS
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| userIdWS | string | Sí | |
| startTime | number | Sí | |
| endTime | number | No |
Respuesta
Devuelve: GetEventLogResponse
Ejemplo

createFeedPost 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createFeedPostParams | CreateFeedPostParams | Sí | |
| broadcastId | string | No | |
| isLive | boolean | No | |
| doSpamCheck | boolean | No | |
| skipDupCheck | boolean | No |
Respuesta
Devuelve: CreateFeedPostsResponse
Ejemplo

createFeedPostPublic 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createFeedPostParams | CreateFeedPostParams | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: CreateFeedPostResponse
Ejemplo

deleteFeedPostPublic 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| postId | string | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: DeleteFeedPostPublicResponse
Ejemplo

getFeedPosts 
solicitud tenantId afterId
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| afterId | string | No | |
| limit | number | No | |
| tags | Array | No |
Respuesta
Devuelve: GetFeedPostsResponse
Ejemplo

getFeedPostsPublic 
req tenantId afterId
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| afterId | string | No | |
| limit | number | No | |
| tags | Array | No | |
| sso | string | No | |
| isCrawler | boolean | No | |
| includeUserInfo | boolean | No |
Respuesta
Devuelve: PublicFeedPostsResponse
Ejemplo

getFeedPostsStats 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| postIds | Array | Sí | |
| sso | string | No |
Respuesta
Devuelve: FeedPostsStatsResponse
Ejemplo

getUserReactsPublic 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| postIds | Array | No | |
| sso | string | No |
Respuesta
Devuelve: UserReactsResponse
Ejemplo

reactFeedPostPublic 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| postId | string | Sí | |
| reactBodyParams | ReactBodyParams | Sí | |
| isUndo | boolean | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: ReactFeedPostResponse
Ejemplo

getTranslations 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| feedPost | FeedPost | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

updateFeedPostPublic 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| postId | string | Sí | |
| updateFeedPostParams | UpdateFeedPostParams | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: CreateFeedPostResponse
Ejemplo

flagCommentPublic 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | boolean | Yes | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getGifLarge 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| largeInternalURLSanitized | string | Sí |
Respuesta
Devuelve: GifGetLargeResponse
Ejemplo

getGifsSearch 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| search | string | Sí | |
| locale | string | No | |
| rating | string | No | |
| page | number | No |
Respuesta
Devuelve: GetGifsSearchResponse
Ejemplo

getGifsTrending 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| locale | string | No | |
| rating | string | No | |
| page | number | No |
Respuesta
Devuelve: GetGifsTrendingResponse
Ejemplo

addHashTag 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createHashTagBody | CreateHashTagBody | No |
Respuesta
Devuelve: CreateHashTagResponse
Ejemplo

addHashTagsBulk 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | No |
Respuesta
Devuelve: BulkCreateHashTagsResponse
Ejemplo

deleteHashTag 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| tag | string | Sí | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getHashTags 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| page | number | No |
Respuesta
Devuelve: GetHashTagsResponse
Ejemplo

patchHashTag 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| tag | string | Sí | |
| updateHashTagBody | UpdateHashTagBody | No |
Respuesta
Devuelve: UpdateHashTagResponse
Ejemplo

getMe 
Identifica la credencial en uso: el inquilino al que pertenece y, para tokens OAuth, el usuario que la autorizó.
Las integraciones usan esto para probar una conexión y etiquetarla.
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí |
Respuesta
Devuelve: GetMeResponse
Ejemplo

deleteModerationVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| voteId | string | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: VoteDeleteResponse
Ejemplo

getApiComments 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| page | number | No | |
| count | number | No | |
| textSearch | string | No | |
| byIPFromComment | string | No | |
| filters | string | No | |
| searchFilters | string | No | |
| sorts | string | No | |
| demo | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPIGetCommentsResponse
Ejemplo

getApiExportStatus 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| batchJobId | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationExportStatusResponse
Ejemplo

getApiIds 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| textSearch | string | No | |
| byIPFromComment | string | No | |
| filters | string | No | |
| searchFilters | string | No | |
| afterId | string | No | |
| demo | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPIGetCommentIdsResponse
Ejemplo

getBanUsersFromComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetBannedUsersFromCommentResponse
Ejemplo

getCommentBanStatus 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Respuesta
Devuelve: GetCommentBanStatusResponse
Ejemplo

getCommentChildren 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPIChildCommentsResponse
Ejemplo

getCount 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| textSearch | string | No | |
| byIPFromComment | string | No | |
| filter | string | No | |
| searchFilters | string | No | |
| demo | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPICountCommentsResponse
Ejemplo

getCounts 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetBannedUsersCountResponse
Ejemplo

getLogs 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPIGetLogsResponse
Ejemplo

getManualBadges 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetTenantManualBadgesResponse
Ejemplo

getManualBadgesForUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| badgesUserId | string | No | |
| commentId | string | No | |
| sso | string | No |
Respuesta
Devuelve: GetUserManualBadgesResponse
Ejemplo

getModerationComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| includeEmail | boolean | No | |
| includeIP | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPICommentResponse
Ejemplo

getModerationCommentText 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Respuesta
Returns: GetCommentTextResponse
Ejemplo

getPreBanSummary 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| includeByUserIdAndEmail | boolean | No | |
| includeByIP | boolean | No | |
| includeByEmailDomain | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: PreBanSummary
Ejemplo

getSearchCommentsSummary 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| value | string | No | |
| filters | string | No | |
| searchFilters | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationCommentSearchResponse
Ejemplo

getSearchPages 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| value | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationPageSearchResponse
Ejemplo

getSearchSites 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| value | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationSiteSearchResponse
Ejemplo

getSearchSuggest 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| textSearch | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationSuggestResponse
Ejemplo

getSearchUsers 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| value | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationUserSearchResponse
Ejemplo

getTrustFactor 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| sso | string | No |
Respuesta
Devuelve: GetUserTrustFactorResponse
Ejemplo

getUserBanPreference 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIModerateGetUserBanPreferencesResponse
Ejemplo

getUserInternalProfile 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | No | |
| sso | string | No |
Respuesta
Devuelve: GetUserInternalProfileResponse
Ejemplo

postAdjustCommentVotes 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: AdjustVotesResponse
Ejemplo

postApiExport 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| textSearch | string | No | |
| byIPFromComment | string | No | |
| filters | string | No | |
| searchFilters | string | No | |
| sorts | string | No | |
| sso | string | No |
Respuesta
Devuelve: ModerationExportResponse
Ejemplo

postBanUserFromComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| banEmail | boolean | No | |
| banEmailDomain | boolean | No | |
| banIP | boolean | No | |
| deleteAllUsersComments | boolean | No | |
| bannedUntil | string | No | |
| isShadowBan | boolean | No | |
| updateId | string | No | |
| banReason | string | No | |
| sso | string | No |
Respuesta
Devuelve: BanUserFromCommentResult
Ejemplo

postBanUserUndo 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sí | |
| banUserUndoParams | BanUserUndoParams | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postBulkPreBanSummary 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| bulkPreBanParams | BulkPreBanParams | Sí | |
| includeByUserIdAndEmail | boolean | No | |
| includeByIP | boolean | No | |
| includeByEmailDomain | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: BulkPreBanSummary
Ejemplo

postCommentsByIds 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentsByIdsParams | CommentsByIdsParams | Yes | |
| sso | string | No |
Respuesta
Devuelve: ModerationAPIChildCommentsResponse
Ejemplo

postFlagComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postRemoveComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: PostRemoveCommentApiResponse
Ejemplo

postRestoreDeletedComment 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postSetCommentApprovalStatus 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| approved | boolean | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: SetCommentApprovedResponse
Ejemplo

postSetCommentReviewStatus 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| reviewed | boolean | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postSetCommentSpamStatus 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| spam | boolean | No | |
| permNotSpam | boolean | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postSetCommentText 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| setCommentTextParams | SetCommentTextParams | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: SetCommentTextResponse
Ejemplo

postUnFlagComment 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

postVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| direction | string | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: VoteResponse
Ejemplo

putAwardBadge 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| badgeId | string | Sí | |
| userId | string | No | |
| commentId | string | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: AwardUserBadgeResponse
Ejemplo

putCloseThread 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

putRemoveBadge 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| userId | string | No | |
| commentId | string | No | |
| broadcastId | string | No | |
| sso | string | No |
Respuesta
Devuelve: RemoveUserBadgeResponse
Ejemplo

putReopenThread 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

setTrustFactor 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| trustFactor | string | No | |
| sso | string | No |
Respuesta
Devuelve: SetUserTrustFactorResponse
Ejemplo

createModerator 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createModeratorBody | CreateModeratorBody | Sí |
Respuesta
Devuelve: CreateModeratorResponse
Ejemplo

deleteModerator 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| sendEmail | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getModerator 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetModeratorResponse
Ejemplo

getModerators 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetModeratorsResponse
Ejemplo

sendInvite 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| fromName | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

updateModerator 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateModeratorBody | UpdateModeratorBody | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

deleteNotificationCount 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getCachedNotificationCount 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetCachedNotificationCountResponse
Ejemplo

getNotificationCount 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No | |
| urlId | string | No | |
| fromCommentId | string | No | |
| viewed | boolean | No | |
| type | string | No |
Respuesta
Devuelve: GetNotificationCountResponse
Ejemplo

getNotifications 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| urlId | string | No | |
| fromCommentId | string | No | |
| viewed | boolean | No | |
| type | string | No | |
| skip | number | No |
Respuesta
Devuelve: GetNotificationsResponse
Ejemplo

updateNotification 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateNotificationBody | UpdateNotificationBody | Sí | |
| userId | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

createV1PageReact 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| title | string | No | |
| sso | string | No |
Respuesta
Devuelve: CreateV1PageReact
Ejemplo

createV2PageReact 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| id | string | Sí | |
| title | string | No | |
| sso | string | No |
Respuesta
Devuelve: CreateV1PageReact
Ejemplo

deleteV1PageReact 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
Respuesta
Devuelve: CreateV1PageReact
Ejemplo

deleteV2PageReact 
Parameters
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| id | string | Sí | |
| sso | string | No |
Response
Devuelve: CreateV1PageReact
Example

getV1PageLikes 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
Respuesta
Devuelve: GetV1PageLikes
Ejemplo

getV2PageReacts 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetV2PageReacts
Ejemplo

getV2PageReactUsers 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| id | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetV2PageReactUsersResponse
Ejemplo

addPage 
Parameters
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPIPageData | CreateAPIPageData | Yes |
Response
Devuelve: AddPageAPIResponse
Example

deletePage 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: DeletePageAPIResponse
Ejemplo

getOfflineUsers 
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.
Parameters
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| afterName | string | No | |
| afterUserId | string | No |
Response
Returns: PageUsersOfflineResponse
Example

getOnlineUsers 
Visores actualmente en línea de una página: personas cuya sesión websocket está suscrita a la página en este momento.
Devuelve anonCount + totalCount (suscriptores de toda la sala, incluidos los espectadores anónimos que no enumeramos).
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| afterName | string | No | |
| afterUserId | string | No |
Respuesta
Devuelve: PageUsersOnlineResponse
Ejemplo

getPageByURLId 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Respuesta
Devuelve: GetPageByURLIdAPIResponse
Ejemplo

getPages 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí |
Respuesta
Devuelve: GetPagesAPIResponse
Ejemplo

getPagesPublic 
List pages for a tenant. Used by the FChat desktop client to populate its room list.
Requiere que enableFChat sea verdadero en la configuración personalizada resuelta para cada página.
Las páginas que requieren SSO se filtran según el acceso a grupos del usuario solicitante.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| cursor | string | No | |
| limit | number | No | |
| q | string | No | |
| sortBy | PagesSortBy | No | |
| hasComments | boolean | No |
Response
Devuelve: GetPublicPagesResponse
Example

getUsersInfo 
Información de usuarios en bloque para un inquilino. Dado userIds, devuelve la información de visualización de User / SSOUser.
Utilizado por el widget de comentarios para enriquecer a los usuarios que acaban de aparecer mediante un evento de presencia.
Sin contexto de página: la privacidad se aplica de manera uniforme (los perfiles privados se enmascaran).
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| ids | string | Sí |
Respuesta
Devuelve: PageUsersInfoResponse
Ejemplo

patchPage 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateAPIPageData | UpdateAPIPageData | Sí |
Respuesta
Devuelve: PatchPageAPIResponse
Ejemplo

deletePendingWebhookEvent 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getPendingWebhookEventCount 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | No | |
| externalId | string | No | |
| eventType | string | No | |
| type | string | No | |
| domain | string | No | |
| attemptCountGT | number | No |
Respuesta
Devuelve: GetPendingWebhookEventCountResponse
Ejemplo

getPendingWebhookEvents 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | No | |
| externalId | string | No | |
| eventType | string | No | |
| type | string | No | |
| domain | string | No | |
| attemptCountGT | number | No | |
| skip | number | No |
Respuesta
Devuelve: GetPendingWebhookEventsResponse
Ejemplo

createPollVote 
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.
Esto respeta la configuración de encuestas del sitio: si la votación está configurada solo para usuarios registrados, un voto con solo un anonUserId es rechazado, y los votos anónimos están limitados por tasa por IP por encuesta.
Parameters
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createPollVoteBody | CreatePollVoteBody | Sí |
Response
Returns: CreatePollVoteResponse
Example

deletePollVote 
Retirar un voto. La opción en la que se emitió devuelve su recuento.
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: DeletePollVoteResponse
Ejemplo

getPollVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetPollVoteResponse
Ejemplo

getPollVotes 
Los votos individuales detrás de los recuentos de una encuesta, del más antiguo al más reciente.
Una encuesta pertenece a un comentario, por lo que los votos siempre se leen una encuesta a la vez - commentId es obligatorio. Eso mantiene cada consulta en los índices que ya tiene la colección.
Respeta la privacidad de la encuesta: los votos de una encuesta anónima no pueden leerse (poll-anonymous), aquí o por id.
Parameters
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| voterId | string | No | |
| optionId | string | No | |
| skip | number | No |
Response
Devuelve: GetPollVotesResponse
Example

deletePoll 
Eliminar una encuesta de su comentario, junto con todos los votos emitidos en ella. El propio comentario se deja sin cambios.
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getPoll 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí |
Respuesta
Devuelve: GetPollResponse
Ejemplo

patchPoll 
Editar una encuesta en el lugar, manteniendo sus recuentos: cambiar la pregunta, volver a etiquetar una opción, cerrar o reabrirla, o cambiar quién puede ver a los votantes. Las opciones se identifican por id; para añadir, eliminar o reordenarlas, haga PUT de la lista completa.
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| commentPollPatch | CommentPollPatch | Sí |
Respuesta
Devuelve: SavePollResponse
Ejemplo

putPoll 
Adjunte una encuesta a un comentario, o establezca el estado completo de la encuesta que ya tiene.
Las opciones se emparejan por id: una opción enviada con el id de una opción existente conserva sus votos (y toma la nueva etiqueta y posición), una opción enviada sin id se agrega, y las opciones existentes que se omiten de la lista se eliminan junto con los votos emitidos en ellas.
Mantener sin ids de opciones existentes en una encuesta que tiene votos elimina todas ellas, por lo que se necesita replaceVotes=true.
Parameters
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| commentPollPutInput | CommentPollPutInput | Sí | |
| replaceVotes | boolean | No |
Response
Returns: SavePollResponse
Example

createQuestionConfig 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createQuestionConfigBody | CreateQuestionConfigBody | Sí |
Respuesta
Devuelve: CreateQuestionConfigResponse
Ejemplo

deleteQuestionConfig 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getQuestionConfig 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetQuestionConfigResponse
Ejemplo

getQuestionConfigs 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetQuestionConfigsResponse
Ejemplo

updateQuestionConfig 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

createQuestionResult 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createQuestionResultBody | CreateQuestionResultBody | Sí |
Respuesta
Devuelve: CreateQuestionResultResponse
Ejemplo

deleteQuestionResult 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getQuestionResult 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetQuestionResultResponse
Ejemplo

getQuestionResults 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | No | |
| userId | string | No | |
| startDate | string | No | |
| questionId | string | No | |
| questionIds | string | No | |
| skip | number | No |
Respuesta
Devuelve: GetQuestionResultsResponse
Ejemplo

updateQuestionResult 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateQuestionResultBody | UpdateQuestionResultBody | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

aggregateQuestionResults 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| questionId | string | No | |
| questionIds | Array | No | |
| urlId | string | No | |
| timeBucket | AggregateTimeBucket | No | |
| startDate | Date | No | |
| forceRecalculate | boolean | No |
Respuesta
Devuelve: AggregateQuestionResultsResponse
Ejemplo

bulkAggregateQuestionResults 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Yes | |
| forceRecalculate | boolean | No |
Respuesta
Devuelve: BulkAggregateQuestionResultsResponse
Ejemplo

combineCommentsWithQuestionResults 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| questionId | string | No | |
| questionIds | Array | No | |
| urlId | string | No | |
| startDate | Date | No | |
| forceRecalculate | boolean | No | |
| minValue | number | No | |
| maxValue | number | No | |
| limit | number | No |
Respuesta
Devuelve: CombineQuestionResultsWithCommentsResponse
Ejemplo

addSSOUser 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createAPISSOUserData | CreateAPISSOUserData | Sí |
Respuesta
Devuelve: AddSSOUserAPIResponse
Ejemplo

deleteSSOUser 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| deleteComments | boolean | No | |
| commentDeleteMode | string | No |
Respuesta
Devuelve: DeleteSSOUserAPIResponse
Ejemplo

getSSOUserByEmail 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| string | Sí |
Respuesta
Devuelve: GetSSOUserByEmailAPIResponse
Ejemplo

getSSOUserById 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetSSOUserByIdAPIResponse
Ejemplo

getSSOUsers 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetSSOUsersResponse
Ejemplo

patchSSOUser 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateAPISSOUserData | UpdateAPISSOUserData | Sí | |
| updateComments | boolean | No |
Respuesta
Devuelve: PatchSSOUserAPIResponse
Ejemplo

putSSOUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateAPISSOUserData | UpdateAPISSOUserData | Sí | |
| updateComments | boolean | No |
Respuesta
Devuelve: PutSSOUserAPIResponse
Ejemplo

createSubscription 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Sí |
Respuesta
Devuelve: CreateSubscriptionAPIResponse
Ejemplo

deleteSubscription 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
Respuesta
Returns: DeleteSubscriptionAPIResponse
Ejemplo

getSubscriptions 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No |
Respuesta
Devuelve: GetSubscriptionsAPIResponse
Ejemplo

updateSubscription 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Sí | |
| userId | string | No |
Respuesta
Devuelve: UpdateSubscriptionAPIResponse
Ejemplo

getTenantDailyUsages 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| yearNumber | number | No | |
| monthNumber | number | No | |
| dayNumber | number | No | |
| skip | number | No |
Respuesta
Devuelve: GetTenantDailyUsagesResponse
Ejemplo

createTenantPackage 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createTenantPackageBody | CreateTenantPackageBody | Sí |
Respuesta
Devuelve: CreateTenantPackageResponse
Ejemplo

deleteTenantPackage 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getTenantPackage 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Respuesta
Devuelve: GetTenantPackageResponse
Ejemplo

getTenantPackages 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetTenantPackagesResponse
Ejemplo

replaceTenantPackage 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

updateTenantPackage 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateTenantPackageBody | UpdateTenantPackageBody | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

createTenantUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| createTenantUserBody | CreateTenantUserBody | Yes |
Respuesta
Devuelve: CreateTenantUserResponse
Ejemplo

deleteTenantUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| deleteComments | string | No | |
| commentDeleteMode | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getTenantUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Respuesta
Devuelve: GetTenantUserResponse
Ejemplo

getTenantUsers 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| skip | number | No |
Respuesta
Devuelve: GetTenantUsersResponse
Ejemplo

replaceTenantUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| replaceTenantUserBody | ReplaceTenantUserBody | Sí | |
| updateComments | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

sendLoginLink 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| redirectURL | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

updateTenantUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| updateTenantUserBody | UpdateTenantUserBody | Sí | |
| updateComments | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

createTenant 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| createTenantBody | CreateTenantBody | Yes |
Respuesta
Devuelve: CreateTenantResponse
Ejemplo

deleteTenant 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| sure | string | No |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getTenant 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Respuesta
Devuelve: GetTenantResponse
Ejemplo

getTenants 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| meta | string | No | |
| skip | number | No |
Respuesta
Devuelve: GetTenantsResponse
Ejemplo

updateTenant 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantBody | UpdateTenantBody | Yes |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

changeTicketState 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | Sí | |
| id | string | Sí | |
| changeTicketStateBody | ChangeTicketStateBody | Sí |
Respuesta
Devuelve: ChangeTicketStateResponse
Ejemplo

createTicket 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | Sí | |
| createTicketBody | CreateTicketBody | Sí |
Respuesta
Devuelve: CreateTicketResponse
Ejemplo

getTicket 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| userId | string | No |
Respuesta
Devuelve: GetTicketResponse
Ejemplo

getTickets 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| state | number | No | |
| skip | number | No | |
| limit | number | No |
Respuesta
Devuelve: GetTicketsResponse
Ejemplo

getTranslations 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| namespace | string | Sí | |
| component | string | Sí | |
| locale | string | No | |
| useFullTranslationIds | boolean | No |
Respuesta
Devuelve: GetTranslationsResponse
Ejemplo

uploadImage 
Subir y cambiar el tamaño de una imagen
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| file | Blob | Yes | |
| sizePreset | SizePreset | No | |
| urlId | string | No |
Respuesta
Devuelve: UploadImageResponse
Ejemplo

getUserBadgeProgressById 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIGetUserBadgeProgressResponse
Ejemplo

getUserBadgeProgressByUserId 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | Sí |
Respuesta
Devuelve: APIGetUserBadgeProgressResponse
Ejemplo

getUserBadgeProgressList 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| limit | number | No | |
| skip | number | No |
Respuesta
Devuelve: APIGetUserBadgeProgressListResponse
Ejemplo

createUserBadge 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createUserBadgeParams | CreateUserBadgeParams | Sí |
Respuesta
Devuelve: APICreateUserBadgeResponse
Ejemplo

deleteUserBadge 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptySuccessResponse
Ejemplo

getUserBadge 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Respuesta
Devuelve: APIGetUserBadgeResponse
Ejemplo

getUserBadges 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| userId | string | No | |
| badgeId | string | No | |
| type | number | No | |
| displayedOnComments | boolean | No | |
| limit | number | No | |
| skip | number | No |
Respuesta
Devuelve: APIGetUserBadgesResponse
Ejemplo

updateUserBadge 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateUserBadgeParams | UpdateUserBadgeParams | Yes |
Respuesta
Devuelve: APIEmptySuccessResponse
Ejemplo

getUserNotificationCount 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: GetUserNotificationCountResponse
Ejemplo

getUserNotifications 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | No | |
| pageSize | number | No | |
| afterId | string | No | |
| includeContext | boolean | No | |
| afterCreatedAt | number | No | |
| unreadOnly | boolean | No | |
| dmOnly | boolean | No | |
| noDm | boolean | No | |
| includeTranslations | boolean | No | |
| includeTenantNotifications | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: GetMyNotificationsResponse
Ejemplo

resetUserNotificationCount 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| sso | string | No |
Respuesta
Devuelve: ResetUserNotificationsResponse
Ejemplo

resetUserNotifications 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Yes | |
| afterId | string | No | |
| afterCreatedAt | number | No | |
| unreadOnly | boolean | No | |
| dmOnly | boolean | No | |
| noDm | boolean | No | |
| sso | string | No |
Respuesta
Devuelve: ResetUserNotificationsResponse
Ejemplo

updateUserNotificationCommentSubscriptionStatus 
Enable or disable notifications for a specific comment.
Parameters
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| notificationId | string | Sí | |
| optedInOrOut | UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum | Sí | |
| commentId | string | Sí | |
| sso | string | No |
Response
Devuelve: UpdateUserNotificationCommentSubscriptionStatusResponse
Example

updateUserNotificationPageSubscriptionStatus 
Enable o deshabilitar notificaciones para una página. Cuando los usuarios están suscritos a una página, se crean notificaciones para nuevos comentarios raíz, y también
Parameters
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| url | string | Sí | |
| pageTitle | string | Sí | |
| subscribedOrUnsubscribed | UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum | Sí | |
| sso | string | No |
Response
Devuelve: UpdateUserNotificationPageSubscriptionStatusResponse
Example

updateUserNotificationStatus 
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| notificationId | string | Sí | |
| newStatus | UpdateUserNotificationStatusNewStatusEnum | Sí | |
| sso | string | No |
Respuesta
Devuelve: UpdateUserNotificationStatusResponse
Ejemplo

getUserPresenceStatuses 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlIdWS | string | Sí | |
| userIds | string | Sí |
Respuesta
Devuelve: GetUserPresenceStatusesResponse
Ejemplo

searchUsers 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| usernameStartsWith | string | No | |
| mentionGroupIds | Array | No | |
| sso | string | No | |
| searchSection | SearchUsersSearchSectionEnum | No |
Respuesta
Devuelve: SearchUsersResult
Ejemplo

getUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: GetUserResponse
Ejemplo

createVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| commentId | string | Sí | |
| direction | CreateVoteDirectionEnum | Sí | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: VoteResponse
Ejemplo

deleteVote 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí | |
| editKey | string | No |
Respuesta
Devuelve: VoteDeleteResponse
Ejemplo

getVotes 
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí |
Respuesta
Devuelve: GetVotesResponse
Ejemplo

getVotesForUser 
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| urlId | string | Sí | |
| userId | string | No | |
| anonUserId | string | No |
Respuesta
Devuelve: GetVotesForUserResponse
Ejemplo

createWebhook 
Suscribe una URL a un evento de comentario (suscripción de webhook REST). Suscribir la misma URL al mismo evento y dominio nuevamente devuelve la suscripción existente. Las entregas están firmadas con HMAC, consulte la guía de webhooks; el encabezado token heredado nunca se envía a suscripciones de API.
Parámetros
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| createWebhookParams | CreateWebhookParams | Sí |
Respuesta
Devuelve: CreateWebhookResponse
Ejemplo

deleteWebhook 
Desuscripciones (REST hook unsubscribe). Sólo las suscripciones creadas a través de esta API pueden eliminarse aquí; los webhooks gestionados desde el panel se editan en el panel.
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| id | string | Sí |
Respuesta
Devuelve: APIEmptyResponse
Ejemplo

getWebhooks 
Enumera los webhooks configurados para el inquilino, tanto las filas gestionadas desde el panel como las suscripciones API.
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
| tenantId | string | Sí | |
| event | WebhookEventName | No | |
| domain | string | No | |
| source | WebhookSource | No | |
| skip | number | No |
Respuesta
Devuelve: GetWebhooksResponse
Ejemplo

getWebhookSamplePayloads 
Comentarios recientes en exactamente la forma que usan las entregas de webhook, para crear integraciones (por ejemplo datos de muestra de Zapier). Cada evento entrega el mismo objeto de comentario, por lo que event solo tiene que ser válido.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sí | |
| event | WebhookEventName | No | |
| limit | number | No |
Response
Devuelve: GetWebhookSamplePayloadsResponse
Example

¿Necesitas ayuda?
Si encuentras algún problema o tienes preguntas sobre el SDK de JavaScript/TypeScript, por favor:
Contribuciones
¡Las contribuciones son bienvenidas! Visita el repositorio de GitHub para las pautas de contribución.