Saltar al contenido principal
Version: Plataforma actual

Endpoint Catalog

All paths below are relative to /api/v1. Methods reflect the current platform routes; authorization can further restrict actions by role, permission, ownership, status, and feature capability.

Browser runtime endpoints​

These routes accept the SDK's runtime token (Authorization: Bearer <runtime token>), obtained from POST /sdk/bootstrap with the public site ID.

MethodPathPurpose
POST/sdk/bootstrapExchange a site ID for a 15-minute, origin-bound runtime token.
POST/events/trackIngest one canonical event.
POST/events/batchIngest 1–100 events.
GET/recommendationsServe recommendations for the key’s site and request context.
GET/overlays/configReturn overlays eligible for the page, device, visitor, and server-derived location.
POST/overlay-submissionsSubmit capture data from an overlay.
POST/partner-attribution/touchesCapture a bounded AWIN/CJ partner touch chain with a runtime token.
POST/partner-experiments/assignmentsAssign an eligible advertiser session to partner-scoped control/treatment with a runtime token.
GET/chatbots/configReturn eligible chatbot widget configuration.
POST/chatbots/sessionStart or resume a chatbot session.
POST/chatbots/messageExecute a chatbot turn synchronously.
POST/chatbots/productsResolve product cards for a chatbot turn.
GET, POST/workflow-commandsPoll for and acknowledge workflow browser commands.
POST/storefront/searchRun a Smart Search query.
GET, POST/storefront/collections/{slug}, /queryRead or query a Smart Collection.

Secret-key server endpoints​

These routes accept a secret API key with the listed permission.

MethodPathPermissionPurpose
POST/storefront/search, /storefront/collections/{slug}/querysearch:readServer-side Smart Search, for example for SSR. Needs server access enabled by Upsurge. See Server-side Search and Recommendations.
GET/recommendationsrecommendations:readServer-side recommendations. Needs server access enabled by Upsurge. See Server-side Search and Recommendations.
POST/attribution/touchpointsattribution:touchReport a recommendation click from your server; no Origin header needed.
POST/catalog/syncs, /catalog/syncs/{syncId}/batches, /completecatalog:writePush a product catalog in batches.
POST/commerce/conversionscommerce:convertRecord authoritative store conversions.
GET/storefront-plugin/capabilitiesany of profiles:write, commerce:convert, recommendations:read, partner_attribution:touchWhich storefront plugin features this key and site can use, with a reason for each unavailable one. Used by the WooCommerce plugin's connection check.
POST/partner-attribution/conversionspartner_attribution:convertRecord partner purchases, adjustments, and cancellations.
POST/profile-personalizationprofiles:writeImport consented personalization profile fields.
POST/first-party/profilesprofiles:writeImport consented customer profiles.
POST/profile-tokensprofiles:writeMint a five-minute token naming the customer signed in to a custom storefront. See Identity and privacy.
GET, POST/interactionsevents:read, events:trackRead or record product interactions.
GET, POST/products/embeddingsproduct_embeddings:read, product_embeddings:writeCheck or prepare product search readiness.

Workspace and access​

These routes require a merchant ID token and the corresponding authorization grant.

MethodsPathsPurpose
GET, POST/sitesList or create sites; site creation returns the public site_id and SDK installation snippet.
GET, PATCH, DELETE/sites/{siteId}Read, update, or soft-delete a site.
GET, POST/api-keysList key metadata or create an additional scoped secret key for a site.
POST/api-keys/{keyId}/regenerateRevoke a key and reveal its replacement once.
GET, PATCH/merchants/profileRead or update your own name and email.
GET, PATCH/merchants/businessRead or update the company name, industry, company size, timezone, and phone.
GET, POST, PATCH/notifications*List notifications, mark them read, and manage delivery preferences.
GET, PATCH/merchants/preferencesRead or update merchant preferences.
GET, POST / PATCH, DELETE/access/roles, /access/roles/{roleId}List and create custom roles; update or delete one.
GET / PATCH, DELETE/access/memberships, /access/memberships/{id}List members; change roles or remove a member.
POST / DELETE/access/invitations, /access/invitations/{id}Invite by email; revoke an invitation. /resend, /accept, and /resolve complete the flow.

Products, campaigns, and experiments​

MethodsPathsPurpose
GET, POST/productsSearch/list or create catalog products.
GET, PATCH, DELETE/products/{productId}Read, update, or delete a product.
GET, POST/products/imports*Start, inspect, complete, cancel, and download errors for CSV imports.
GET/products/categories, /products/intent-optionsPopulate campaign filters and intent targeting.
GET, POST, PATCH/products/metafields*Manage product field definitions, source mappings, usage, and conversion previews.
GET, POST/couponsList imported store coupons or request a refresh.
GET, POST, PATCH/goal-plans*Create, revise, and apply AI goal plans.
GET, POST, PATCH, DELETE/recommendation-campaigns*Manage recommendation campaigns.
GET, POST, PATCH, DELETE/overlay-campaigns*Manage overlay campaigns; duplicate actions use /duplicate.
GET, POST, PATCH, DELETE/chatbot-campaigns*Manage chatbot campaigns; duplicate actions use /duplicate.
GET/overlay-templates, /chatbot-templatesRead built-in template catalogs.
GET, POST/experimentsList or create canonical recommendation and overlay experiments.
GET, PATCH/experiments/{experimentId}Read or update a canonical experiment draft.
POST/experiments/{experimentId}/actions/{action}Validate, start, pause, resume, complete, cancel winner hold, or archive.
GET/experiments/{experimentId}/results, /audit, /automatic-evaluationsRead evidence and immutable history.
GET, POST/partner-experimentsList or create partner-scoped Upsurge experience experiments.
GET, PATCH/partner-experiments/{experimentId}Read or transition a partner experiment.
GET/partner-experiments/{experimentId}/resultsRead intent-to-treat lift, readiness, and segmented results.

Workflows​

MethodsPathsPurpose
GET, POST/workflowsList or create workflows.
GET, PATCH, DELETE/workflows/{workflowId}Read, edit, or delete a workflow.
POST/workflows/{workflowId}/publish, /unpublishChange the published runtime version.
GET/workflows/templatesList system and merchant templates.
POST/workflows/templates/{templateId}/instantiateCreate a workflow from a template.
GET/workflows/runs, /workflows/runs/{runId}Inspect execution summaries and details.
POST/workflows/trigger/campaign-startAuthenticated campaign-start trigger.
POST/workflows/trigger/chatbot-handoffSigned chatbot handoff trigger.
POST/workflows/webhooks/{slug...}Signed or configured public webhook trigger.

Analytics and conversions​

MethodPathsPurpose
GET/analytics/metrics, /timeseries, /topCore first-party aggregates.
GET/analytics/campaign-performanceNormalized product-campaign performance.
GET/analytics/overlays, /recommendationsProduct-specific aggregates.
GET/analytics/adsConnected advertising insights.
GET/analytics/attribution, /analytics/attribution/modelsMarketing attribution by observed and modeled methods.
GET/analytics/partnersAdvertiser partner attribution: each order once, with verification state and commission confirmed by the network or estimated.
GET/analytics/publishersPublisher clicks, provider orders/commission, content/destination performance, and variance.
GET, POST, PATCH, DELETE/analytics/reports*Saved merchant report definitions.
GET/conversionsConversion records and attribution context.

Customers, audiences, and leads​

MethodsPathsPurpose
GET, POST, PATCH, DELETE/customer-profiles*List, read, edit, suppress, merge, or delete customer profiles.
GET, POST, PATCH, DELETE/customer-lists*Manage static and dynamic customer lists.
GET, POST, PATCH, DELETE/cohorts*Manage audiences, estimate reach, and read audience insights.
GET, POST, DELETE/leads*List and delete leads; /leads/export downloads CSV and POST /leads/retry retries delivery.
GET/overlay-submissions/exportExport overlay submissions.
POST/partner-attribution/conversionsIngest authoritative partner purchases, adjustments, and cancellations with a scoped secret key.
MethodsPathsPurpose
GET, POST, PATCH, DELETE/integrations/connections*Create, inspect, rotate, verify, sync, act through, or revoke merchant connections, and read AWIN/CJ sync health (/affiliate-health).
POST, GET/integrations/oauth/start, /oauth/callbackBegin and finalize provider OAuth with state validation.
GET, POST, DELETE/media*List, upload/import, mark usage, or delete merchant media.
GET/media/unsplash/searchSearch Unsplash for importable media.
GET/searchSearch merchant-owned dashboard entities and public docs.
GET, POST, PATCH/smart-search/*Configure, validate, preview, publish, and roll back Smart Search; read suggestions, analytics, and index health.
POST/intent/reach-estimateEstimate scoped campaign reach.
GET, POST/intent/audience-memberships/import, /syncList options or run governed audience membership activation.
Operational routes

/integrations/jobs/process requires a worker secret. /health is a deployment health surface. Demo configuration and platform admin routes are not stable customer integration contracts.

Configuración de cookies

Elige qué puede usar Upsurge en este sitio. Puedes cambiarlo cuando quieras desde el pie de página.

  • Esenciales

    Mantienen el sitio en funcionamiento y recuerdan tu idioma.

    Siempre activas
  • Analítica

    Nos ayuda a entender qué páginas y funciones se usan.

  • Personalización

    Adapta el contenido y las recomendaciones a lo que estás viendo.

  • Marketing

    Mide qué campañas traen visitantes al sitio.

Escribir a soporte

O escríbenos a hello@upsur.ge