Integrations / get

Fetch integration config by userId.

Back to API Docs

API Overview

Path: /api/integrations/get — Method: GET

Auth: none

Example: curl 'https://www.advancelytics.com/api/integrations/get?userId=USER_ID'

Request Details

No headers required

No path params required

Query

  • userId(string, required)

No body required

Responses

  • 200Integration document
    {"userId":"USER_ID","crisp":{"enabled":true,"websiteId":"CRISP_WEBSITE_ID"}}
  • 400Missing userId
    {"error":"userId is required"}
  • 404Integration not found
    {"error":"Integration not found"}
  • 500Server error
    {"error":"Internal server error"}

Notes & Tips

  • Ensure headers match exactly (e.g., x-apikey).
  • Use Content-Type: application/json for JSON bodies.
  • For Bearer auth, you can provide either a session JWT or an opaque API key where supported.
Advancelytics | Detect Silent Churn, Surface Growth Signals