/roleslist_2
curl -X GET "https://api.pre.screenleads.com/roles" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Referencia completa para desarrolladores
El servidor MCP permite que Claude u otro cliente compatible consulte tus datos de ScreenLeads hablando en lenguaje natural, con los permisos de tu credencial.
https://mcp.pre.screenleads.com/mcpTransporte HTTP (JSON-RPC).
https://mcp.pre.screenleads.com/healthDebe devolver ok: true y backendAuthMode: passthrough.
https://api.pre.screenleads.comEl MCP reenvía tu credencial a la API en modo passthrough.
passthroughEl MCP no guarda credenciales globales: tu asistente solo ve lo que tu API key puede ver.
Ábrelo en el navegador y confirma que devuelve ok: true.
Registra el servidor con la URL /mcp y las cabeceras Authorization (Bearer con tu API key) y X-ScreenLeads-Client-Id. Algunos clientes gestionan las cabeceras desde su interfaz en vez de JSON.
Comprueba que aparecen tools de empresas, branding, dispositivos, anuncios, promociones, planes, tokens, facturas, media y webhooks.
Por ejemplo screenleads_health_check, o pregunta en lenguaje natural qué permisos tiene tu API key.
{
"mcpServers": {
"screenleads": {
"url": "https://mcp.pre.screenleads.com/mcp",
"headers": {
"Authorization": "Bearer <SCREENLEADS_API_KEY>",
"X-ScreenLeads-Client-Id": "<SCREENLEADS_CLIENT_ID>"
}
}
}
}curl -X POST https://mcp.pre.screenleads.com/mcp \
-H 'Authorization: Bearer <SCREENLEADS_API_KEY>' \
-H 'X-ScreenLeads-Client-Id: <SCREENLEADS_CLIENT_ID>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "screenleads_health_check", "arguments": {} }
}'Empresas visibles, logos y tokens de marca.
Pantallas, anuncios asignados y diagnóstico de reproducción.
Promociones activas, códigos QR, activación y desactivación.
Planes visibles, packs de tokens, balance y movimientos.
Facturas visibles de tu empresa y cobros recientes.
Integraciones configuradas y scopes de tu API key.
Empresas, dispositivos, anuncios, promociones, planes, tokens y facturas — siempre con los permisos de tu credencial.
https://api.pre.screenleads.comEntorno de preproducción para validar tu integración antes de pasar a producción.
X-API-KEY + X-ScreenLeads-Client-IdAPI key de ScreenLeads acotada a tu cliente o empresa. También se acepta como Authorization: Bearer.
Desde ScreenLeads, el cliente API representa tu integración.
De lectura o escritura y, si aplica, acotada a una empresa (companyScope).
Son los dos únicos datos que necesita tu integración; no hace falta login recurrente. La key se puede revocar o rotar desde el backend.
Envía la API key y el client_id en cada petición.
curl https://api.pre.screenleads.com/companies \
-H 'X-API-KEY: <SCREENLEADS_API_KEY>' \
-H 'X-ScreenLeads-Client-Id: <SCREENLEADS_CLIENT_ID>'curl -X POST https://api.pre.screenleads.com/auth/login \
-H 'Content-Type: application/json' \
--data '{"username":"usuario@screenleads.com","password":"PASSWORD"}'/rolescurl -X GET "https://api.pre.screenleads.com/roles" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/rolescurl -X POST "https://api.pre.screenleads.com/roles" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/roles/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/roles/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/roles/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/roles/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/roles/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/roles/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/roles/assignablecurl -X GET "https://api.pre.screenleads.com/roles/assignable" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/userscurl -X GET "https://api.pre.screenleads.com/users" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/userscurl -X POST "https://api.pre.screenleads.com/users" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/users/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/users/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/users/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/users/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/users/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/users/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/mediascurl -X GET "https://api.pre.screenleads.com/medias" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/mediascurl -X POST "https://api.pre.screenleads.com/medias" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/medias/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/medias/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/medias/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/uploadcurl -X POST "https://api.pre.screenleads.com/medias/upload" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/render/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/medias/render/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/upload-from-urlcurl -X POST "https://api.pre.screenleads.com/medias/upload-from-url" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Gestión y consulta de anuncios (advices)
/advicescurl -X GET "https://api.pre.screenleads.com/advices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/advicescurl -X POST "https://api.pre.screenleads.com/advices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/advices/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/advices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/advices/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/advices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/advices/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/advices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/advices/visiblesFiltra por la zona horaria indicada por cabeceras X-Timezone o X-Timezone-Offset
X-TimezoneheaderstringZona horaria IANA, p.ej. Europe/Madrid
X-Timezone-OffsetheaderstringMinutos al ESTE de UTC, p.ej. 120
curl -X GET "https://api.pre.screenleads.com/advices/visibles" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Autenticación y cuentas de usuario
/auth/mecurl -X GET "https://api.pre.screenleads.com/auth/me" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/loginDevuelve access/refresh token y datos básicos del usuario
curl -X POST "https://api.pre.screenleads.com/auth/login" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/refreshcurl -X POST "https://api.pre.screenleads.com/auth/refresh" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/registercurl -X POST "https://api.pre.screenleads.com/auth/register" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/reset-passwordEstablece nueva contraseña usando token válido
curl -X POST "https://api.pre.screenleads.com/auth/reset-password" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/change-passwordcurl -X POST "https://api.pre.screenleads.com/auth/change-password" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/forgot-passwordEnvía un email con enlace para restablecer contraseña
curl -X POST "https://api.pre.screenleads.com/auth/forgot-password" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/accept-invitationCompleta el registro usando un token de invitación válido
curl -X POST "https://api.pre.screenleads.com/auth/accept-invitation" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/auth/verify-reset-tokenComprueba si un token es válido, no expirado y no usado
tokenquerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/auth/verify-reset-token" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clientscurl -X GET "https://api.pre.screenleads.com/clients" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clientscurl -X POST "https://api.pre.screenleads.com/clients" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clients/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/clients/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clients/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/clients/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clients/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/clients/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clients/{id}/activateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/clients/{id}/activate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/clients/{id}/deactivateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/clients/{id}/deactivate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Validación y canje de cupones de promociones
/couponsDevuelve todos los promotion redemptions (cupones)
curl -X GET "https://api.pre.screenleads.com/coupons" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/coupons/issueGenera un nuevo cupón interno para un cliente y una promoción desde un dispositivo, respetando límites
promotionIdqueryintegerObligatoriocustomerIdqueryintegerObligatoriodeviceIdqueryintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/coupons/issue" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/coupons/{code}Devuelve el estado y si es válido en este momento
codepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/coupons/{code}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/coupons/{code}/expireMarca el cupón como EXPIRED si aún no se ha canjeado
codepathstringObligatoriocurl -X POST "https://api.pre.screenleads.com/coupons/{code}/expire" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/coupons/{code}/redeemMarca el cupón como REDEEMED si es válido
codepathstringObligatoriocurl -X POST "https://api.pre.screenleads.com/coupons/{code}/redeem" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"CRUD de dispositivos y gestión de advices por dispositivo
/devicescurl -X GET "https://api.pre.screenleads.com/devices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devicescurl -X POST "https://api.pre.screenleads.com/devices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/devices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/devices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/devices/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/uuid/{uuid}uuidpathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/devices/uuid/{uuid}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/uuid/{uuid}Devuelve 200 si existe, 404 si no
uuidpathstringObligatoriocurl -X HEAD "https://api.pre.screenleads.com/devices/uuid/{uuid}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{deviceId}/advicesdeviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/devices/{deviceId}/advices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{deviceId}/advices/{adviceId}deviceIdpathintegerObligatorioadviceIdpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/devices/{deviceId}/advices/{adviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/{deviceId}/advices/{adviceId}deviceIdpathintegerObligatorioadviceIdpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/devices/{deviceId}/advices/{adviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keyscurl -X GET "https://api.pre.screenleads.com/api-keys" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keyscurl -X POST "https://api.pre.screenleads.com/api-keys" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api-keys/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api-keys/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api-keys/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/revokeidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api-keys/{id}/revoke" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/rotateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api-keys/{id}/rotate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/scopesidpathintegerObligatorioscopesquerystringObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api-keys/{id}/scopes" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/activateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api-keys/{id}/activate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/deactivateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api-keys/{id}/deactivate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/descriptionidpathintegerObligatoriodescriptionquerystringObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api-keys/{id}/description" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/{id}/company-scopeidpathintegerObligatoriocompanyScopequeryintegercurl -X PATCH "https://api.pre.screenleads.com/api-keys/{id}/company-scope" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api-keys/client/{clientDbId}clientDbIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api-keys/client/{clientDbId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entitieswithCountquerybooleancurl -X GET "https://api.pre.screenleads.com/entities" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entitiescurl -X PUT "https://api.pre.screenleads.com/entities" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/{id}idpathintegerObligatoriowithCountquerybooleancurl -X GET "https://api.pre.screenleads.com/entities/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/entities/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/entities/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/reordercurl -X PUT "https://api.pre.screenleads.com/entities/reorder" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/by-resource/{resource}resourcepathstringObligatoriowithCountquerybooleancurl -X GET "https://api.pre.screenleads.com/entities/by-resource/{resource}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/entities/{id}/attributes/reorderidpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/entities/{id}/attributes/reorder" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"CRUD de compañías
/companiescurl -X GET "https://api.pre.screenleads.com/companies" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companiesROLE_ADMIN o permiso company:write
curl -X POST "https://api.pre.screenleads.com/companies" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/companies/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}ROLE_ADMIN o permiso company:write
idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/companies/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}ROLE_ADMIN o permiso company:delete
idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/companies/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}/sync-stripeBusca el customer en Stripe y sincroniza subscripción
idpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/companies/{id}/sync-stripe" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}/create-billing-portalGenera URL del portal de facturación de Stripe
idpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/companies/{id}/create-billing-portal" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/companies/{id}/create-checkout-sessionGenera URL de Stripe Checkout para configurar método de pago
idpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/companies/{id}/create-checkout-session" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/ws/statuscurl -X GET "https://api.pre.screenleads.com/ws/status" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotionscurl -X GET "https://api.pre.screenleads.com/promotions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotionscurl -X POST "https://api.pre.screenleads.com/promotions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/promotions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/promotions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/promotions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}/leadsidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/promotions/{id}/leads" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}/leadsidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/promotions/{id}/leads" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}/leads/testidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/promotions/{id}/leads/test" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}/leads/summaryidpathintegerObligatoriofromquerystringtoquerystringcurl -X GET "https://api.pre.screenleads.com/promotions/{id}/leads/summary" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotions/{id}/leads/export.csvidpathintegerObligatoriofromquerystringtoquerystringcurl -X GET "https://api.pre.screenleads.com/promotions/{id}/leads/export.csv" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Gestión de versiones de la app por plataforma
/app-versionscurl -X GET "https://api.pre.screenleads.com/app-versions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/app-versionscurl -X POST "https://api.pre.screenleads.com/app-versions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/app-versions/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/app-versions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/app-versions/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/app-versions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/app-versions/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/app-versions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/app-versions/latest/{platform}platformpathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/app-versions/latest/{platform}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/typescurl -X GET "https://api.pre.screenleads.com/medias/types" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/typescurl -X POST "https://api.pre.screenleads.com/medias/types" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/types/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/medias/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/types/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/medias/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/medias/types/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/medias/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Gestión de anuncios (alias de Advices)
/announcementscurl -X GET "https://api.pre.screenleads.com/announcements" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcementscurl -X POST "https://api.pre.screenleads.com/announcements" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/announcements/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/announcements/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/announcements/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/visiblesDevuelve anuncios activos en la zona horaria del cliente (headers X-Timezone o X-Timezone-Offset)
X-TimezoneheaderstringIANA Timezone, ej: 'Europe/Madrid'
X-Timezone-OffsetheaderintegerOffset en minutos al ESTE de UTC, ej: 120
curl -X GET "https://api.pre.screenleads.com/announcements/visibles" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/client/{clientId}clientIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/announcements/client/{clientId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/announcements/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{announcementId}/devicesannouncementIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/announcements/{announcementId}/devices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{announcementId}/devices/{deviceId}announcementIdpathintegerObligatoriodeviceIdpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/announcements/{announcementId}/devices/{deviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/announcements/{announcementId}/devices/{deviceId}announcementIdpathintegerObligatoriodeviceIdpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/announcements/{announcementId}/devices/{deviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiencescurl -X POST "https://api.pre.screenleads.com/api/audiences" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/audiences/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/audiences/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/audiences/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/previewcurl -X POST "https://api.pre.screenleads.com/api/audiences/preview" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}/toggleidpathintegerObligatorioactivequerybooleanObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/audiences/{id}/toggle" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}/customersidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/audiences/{id}/customers" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/recalculate-allcurl -X POST "https://api.pre.screenleads.com/api/audiences/recalculate-all" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/{id}/recalculateidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/audiences/{id}/recalculate" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/audiences/company/{companyId}companyIdpathintegerObligatorioactiveOnlyquerybooleancurl -X GET "https://api.pre.screenleads.com/api/audiences/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Gestión de clientes finales que canjean promociones
/api/customerscurl -X GET "https://api.pre.screenleads.com/api/customers" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customersPúblico para que dispositivos registren customers al canjear
curl -X POST "https://api.pre.screenleads.com/api/customers" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/customers/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/customers/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/customers/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/searchpageablequeryObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/search" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/sso-loginPermite registrar o loguear un customer usando SSO (Google, Facebook, etc) validando el token de Firebase
curl -X POST "https://api.pre.screenleads.com/api/customers/sso-login" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/tagsidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/{id}/tags" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/statsidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/customers/{id}/stats" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/segmentidpathintegerObligatoriosegmentquerystringObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/customers/{id}/segment" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/email/{email}emailpathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/customers/email/{email}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/phone/{phone}phonepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/customers/phone/{phone}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/verify-emailPúblico para que el customer verifique su email
idpathintegerObligatoriotokenquerystringObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/{id}/verify-email" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/verify-phonePúblico para que el customer verifique su teléfono
idpathintegerObligatoriocodequerystringObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/{id}/verify-phone" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/company/{companyId}Retorna todos los customers que han canjeado promociones de esta compañía
companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/customers/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/update-lifetime-valueidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/{id}/update-lifetime-value" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/customers/{id}/recalculate-engagementidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/customers/{id}/recalculate-engagement" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templatescurl -X POST "https://api.pre.screenleads.com/api/templates" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/templates/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/templates/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/templates/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/previewcurl -X POST "https://api.pre.screenleads.com/api/templates/preview" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/{id}/toggleidpathintegerObligatorioactivequerybooleanObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/templates/{id}/toggle" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/{id}/previewidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/templates/{id}/preview" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/company/{companyId}companyIdpathintegerObligatoriochannelquerystringactiveOnlyquerybooleancurl -X GET "https://api.pre.screenleads.com/api/templates/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/templates/company/{companyId}/most-usedcompanyIdpathintegerObligatoriolimitqueryintegercurl -X GET "https://api.pre.screenleads.com/api/templates/company/{companyId}/most-used" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"CRUD de tipos de dispositivo
/devices/typescurl -X GET "https://api.pre.screenleads.com/devices/types" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/typescurl -X POST "https://api.pre.screenleads.com/devices/types" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/types/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/devices/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/types/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/devices/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/devices/types/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/devices/types/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokenscurl -X GET "https://api.pre.screenleads.com/company-tokens" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokenscurl -X POST "https://api.pre.screenleads.com/company-tokens" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokens/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/company-tokens/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokens/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/company-tokens/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokens/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/company-tokens/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokens/{token}/renewtokenpathstringObligatoriocurl -X PUT "https://api.pre.screenleads.com/company-tokens/{token}/renew" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-tokens/{token}/descriptiontokenpathstringObligatoriocurl -X PUT "https://api.pre.screenleads.com/company-tokens/{token}/description" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rulescurl -X POST "https://api.pre.screenleads.com/api/fraud-rules" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/fraud-rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/fraud-rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/{id}/toggle-activeidpathintegerObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/fraud-rules/{id}/toggle-active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/countcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/count" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/activecompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/existscompanyIdpathintegerObligatorionamequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/exists" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/auto-blockcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/auto-block" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/type/{ruleType}companyIdpathintegerObligatorioruleTypepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/type/{ruleType}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-rules/company/{companyId}/severity/{severity}companyIdpathintegerObligatorioseveritypathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-rules/company/{companyId}/severity/{severity}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/checkcurl -X POST "https://api.pre.screenleads.com/api/fraud/check" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/rulescurl -X POST "https://api.pre.screenleads.com/api/fraud/rules" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alertscurl -X POST "https://api.pre.screenleads.com/api/fraud/alerts" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/blacklistcurl -X POST "https://api.pre.screenleads.com/api/fraud/blacklist" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/rules/{ruleId}ruleIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/rules/{ruleId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/rules/{ruleId}ruleIdpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/fraud/rules/{ruleId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/rules/{ruleId}ruleIdpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/fraud/rules/{ruleId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/blacklist/checkcompanyIdqueryintegerObligatoriotypequerystringObligatoriovaluequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/blacklist/check" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alerts/{alertId}alertIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/alerts/{alertId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alerts/{alertId}/statusalertIdpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/fraud/alerts/{alertId}/status" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/blacklist/{blacklistId}blacklistIdpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/fraud/blacklist/{blacklistId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/rules/company/{companyId}companyIdpathintegerObligatorioactiveOnlyquerybooleancurl -X GET "https://api.pre.screenleads.com/api/fraud/rules/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alerts/company/{companyId}companyIdpathintegerObligatoriopagequeryintegersizequeryintegercurl -X GET "https://api.pre.screenleads.com/api/fraud/alerts/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/blacklist/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/blacklist/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alerts/company/{companyId}/statscompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/alerts/company/{companyId}/stats" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud/alerts/company/{companyId}/pendingcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud/alerts/company/{companyId}/pending" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitationscurl -X GET "https://api.pre.screenleads.com/api/invitations" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitationscurl -X POST "https://api.pre.screenleads.com/api/invitations" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitations/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/invitations/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitations/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/invitations/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitations/verifytokenquerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/invitations/verify" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/invitations/{id}/resendidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/invitations/{id}/resend" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"Gestión de facturación de empresas
/company-billingcurl -X GET "https://api.pre.screenleads.com/company-billing" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billingSolo ROLE_ADMIN
curl -X POST "https://api.pre.screenleads.com/company-billing" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/company-billing/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}Solo ROLE_ADMIN
idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/company-billing/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}Solo ROLE_ADMIN
idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/company-billing/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}/reset-periodSolo ROLE_ADMIN
idpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/company-billing/{id}/reset-period" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/company-billing/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}/device-limit-reachedidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/company-billing/{id}/device-limit-reached" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/company-billing/{id}/promotion-limit-reachedidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/company-billing/{id}/promotion-limit-reached" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alertscurl -X POST "https://api.pre.screenleads.com/api/fraud-alerts" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/fraud-alerts/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/fraud-alerts/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/{id}/statusidpathintegerObligatoriostatusquerystringObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/fraud-alerts/{id}/status" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/{id}/resolveidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/fraud-alerts/{id}/resolve" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/rule/{ruleId}ruleIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/rule/{ruleId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/recentcompanyIdpathintegerObligatoriodaysqueryintegercurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/recent" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/pendingcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/pending" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/statisticscompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/statistics" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/high-prioritycompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/high-priority" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/status/{status}companyIdpathintegerObligatoriostatuspathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/status/{status}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/severity/{severity}companyIdpathintegerObligatorioseveritypathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/severity/{severity}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/count/status/{status}companyIdpathintegerObligatoriostatuspathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/count/status/{status}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/count/severity/{severity}companyIdpathintegerObligatorioseveritypathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/count/severity/{severity}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/fraud-alerts/company/{companyId}/entity/{entityType}/{entityId}companyIdpathintegerObligatorioentityTypepathstringObligatorioentityIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/fraud-alerts/company/{companyId}/entity/{entityType}/{entityId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/ws/test/{roomId}roomIdpathstringObligatoriocurl -X POST "https://api.pre.screenleads.com/ws/test/{roomId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/ws/command/{roomId}roomIdpathstringObligatoriocurl -X POST "https://api.pre.screenleads.com/ws/command/{roomId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/ws/test-message/{roomId}roomIdpathstringObligatoriocurl -X POST "https://api.pre.screenleads.com/ws/test-message/{roomId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rulescurl -X POST "https://api.pre.screenleads.com/api/geofence/rules" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/geofence/rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/geofence/rules/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/{id}/activeidpathintegerObligatorioactivequerybooleanObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/geofence/rules/{id}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/zone/{zoneId}zoneIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/zone/{zoneId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/zone/{zoneId}/activezoneIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/zone/{zoneId}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/zone/{zoneId}/applicablezoneIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/zone/{zoneId}/applicable" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/company/{companyId}/countcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/company/{companyId}/count" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/rules/company/{companyId}/activecompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/rules/company/{companyId}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zonescurl -X POST "https://api.pre.screenleads.com/api/geofence/zones" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/zones/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/geofence/zones/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/geofence/zones/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/{id}/activeidpathintegerObligatorioactivequerybooleanObligatoriocurl -X PATCH "https://api.pre.screenleads.com/api/geofence/zones/{id}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/zones/company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/company/{companyId}/countcompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/zones/company/{companyId}/count" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/company/{companyId}/pointcompanyIdpathintegerObligatoriolatitudequerynumberObligatoriolongitudequerynumberObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/zones/company/{companyId}/point" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/zones/company/{companyId}/activecompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/zones/company/{companyId}/active" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/stripe/webhookStripe-SignatureheaderstringObligatoriocurl -X POST "https://api.pre.screenleads.com/api/stripe/webhook" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/eventscurl -X POST "https://api.pre.screenleads.com/api/geofence/events" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/zone/{zoneId}zoneIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/zone/{zoneId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/location-updatecurl -X POST "https://api.pre.screenleads.com/api/geofence/events/location-update" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/type/{eventType}eventTypepathstringObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/type/{eventType}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/device/{deviceId}deviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/device/{deviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/zone/{zoneId}/recentzoneIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/zone/{zoneId}/recent" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/geofence/events/zone/{zoneId}/count/{eventType}zoneIdpathintegerObligatorioeventTypepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/geofence/events/zone/{zoneId}/count/{eventType}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"CRUD de canjes de promociones
/promotion-redemptionscurl -X GET "https://api.pre.screenleads.com/promotion-redemptions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptionsROLE_ADMIN o permiso redemption:write
curl -X POST "https://api.pre.screenleads.com/promotion-redemptions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/promotion-redemptions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/{id}ROLE_ADMIN o permiso redemption:write
idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/promotion-redemptions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/{id}ROLE_ADMIN o permiso redemption:delete
idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/promotion-redemptions/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/{id}/redeemROLE_ADMIN o permiso redemption:write
idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/promotion-redemptions/{id}/redeem" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/{id}/verifyROLE_ADMIN o permiso redemption:write
idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/promotion-redemptions/{id}/verify" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/coupon/{couponCode}couponCodepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/promotion-redemptions/coupon/{couponCode}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/customer/{customerId}customerIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/promotion-redemptions/customer/{customerId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/promotion-redemptions/promotion/{promotionId}promotionIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/promotion-redemptions/promotion/{promotionId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaignscompanyIdqueryintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/marketing-campaigns" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaignscompanyIdqueryintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/topcompanyIdqueryintegerObligatoriolimitqueryintegercurl -X GET "https://api.pre.screenleads.com/api/marketing-campaigns/top" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}idpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/marketing-campaigns/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}idpathintegerObligatoriocurl -X PUT "https://api.pre.screenleads.com/api/marketing-campaigns/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}idpathintegerObligatoriocurl -X DELETE "https://api.pre.screenleads.com/api/marketing-campaigns/{id}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/pauseidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/pause" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/cancelidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/cancel" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/resumeidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/resume" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/executeidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/execute" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/scheduleidpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/schedule" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/status/{status}statuspathstringObligatoriocompanyIdqueryintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/marketing-campaigns/status/{status}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/marketing-campaigns/{id}/statisticsidpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/marketing-campaigns/{id}/statistics" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressionscurl -X POST "https://api.pre.screenleads.com/api/analytics/impressions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressions/advice/{adviceId}adviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/impressions/advice/{adviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressions/device/{deviceId}deviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/impressions/device/{deviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressions/session/{sessionId}sessionIdpathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/impressions/session/{sessionId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressions/customer/{customerId}customerIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/impressions/customer/{customerId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/impressions/advice/{adviceId}/statsadviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/impressions/advice/{adviceId}/stats" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/infocurl -X GET "https://api.pre.screenleads.com/api/test-permissions/info" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/lead/deletecurl -X DELETE "https://api.pre.screenleads.com/api/test-permissions/lead/delete" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/lead/updatecurl -X PUT "https://api.pre.screenleads.com/api/test-permissions/lead/update" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/snapshot/readcurl -X GET "https://api.pre.screenleads.com/api/test-permissions/snapshot/read" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/check-multipleresourcequerystringactionquerystringcurl -X GET "https://api.pre.screenleads.com/api/test-permissions/check-multiple" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/snapshot/createcurl -X POST "https://api.pre.screenleads.com/api/test-permissions/snapshot/create" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/global-access-requiredcurl -X GET "https://api.pre.screenleads.com/api/test-permissions/global-access-required" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/test-permissions/can-access-company/{companyId}companyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/test-permissions/can-access-company/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactionscurl -X POST "https://api.pre.screenleads.com/api/analytics/interactions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactions/type/{type}typepathstringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/interactions/type/{type}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactions/advice/{adviceId}adviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/interactions/advice/{adviceId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactions/customer/{customerId}customerIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/interactions/customer/{customerId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactions/advice/{adviceId}/statsadviceIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/interactions/advice/{adviceId}/stats" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/interactions/impression/{impressionId}impressionIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/interactions/impression/{impressionId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/roicompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/roi" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/summarycompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/summary" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/overviewcompanyIdqueryintegerstartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/overview" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/daily-trendscompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/daily-trends" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/device-performancecompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/device-performance" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/geographic-metricscompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/geographic-metrics" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/hourly-distributioncompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/hourly-distribution" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/top-promotions/revenuecompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriolimitqueryintegercurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/top-promotions/revenue" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/dashboard/top-promotions/conversioncompanyIdqueryintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriolimitqueryintegercurl -X GET "https://api.pre.screenleads.com/api/analytics/dashboard/top-promotions/conversion" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/billing/portal-session/{companyId}companyIdpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/billing/portal-session/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/billing/checkout-session/{companyId}companyIdpathintegerObligatoriocurl -X POST "https://api.pre.screenleads.com/api/billing/checkout-session/{companyId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/clvcompanyIdpathintegerObligatoriocustomerIdqueryintegercurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/clv" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/cohortcompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatorioperiodDaysqueryintegercurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/cohort" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/exportcompanyIdpathintegerObligatorioreportTypequerystringObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/export" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/funnelcompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/funnel" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/realtimecompanyIdpathintegerObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/realtime" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/attributioncompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriomodelquerystringcurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/attribution" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/time-seriescompanyIdpathintegerObligatoriometricquerystringObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriogranularityquerystringcurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/time-series" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/conversion-pathscompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriomaxPathLengthqueryintegercurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/conversion-paths" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/device-performancecompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/device-performance" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"/api/analytics/advanced/company/{companyId}/promotion-comparisoncompanyIdpathintegerObligatoriostartDatequerystringObligatorioendDatequerystringObligatoriocurl -X GET "https://api.pre.screenleads.com/api/analytics/advanced/company/{companyId}/promotion-comparison" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"