Skip to content

Integrationen (REST)

Verbindungen zu Drittsystemen über Unified.to verwalten und Daten abrufen. Basis-Pfad: /v1/integrations · Auth: Bearer

MethodePfadZweck
GET/v1/integrationsVerfügbare Integrationen (Unified.to)
GET/v1/integrations/connectionsEigene aktive Verbindungen
POST/v1/integrations/connectVerbindungs-Flow starten
POST/v1/integrations/callbackVerbindung nach OAuth finalisieren
GET/v1/integrations/connections/{connectionId}Verbindung abrufen
DELETE/v1/integrations/connections/{connectionId}Verbindung entfernen
GET/v1/integrations/{connectionId}/{category}/{objectType}Daten abrufen
POST/v1/integrations/{connectionId}/passthroughRoh-API-Call ans Drittsystem

Kategorien

category ist eine von: crm, ticketing, calendar, messaging, storage, task, ats, accounting, ecommerce, hr, enrichment, marketing.

Body — Verbindung starten (POST /v1/integrations/connect)

FeldTypPflichtBeschreibung
integration_typestringProvider (z. B. hubspot, salesforce)
categoriesstring[] (aus Kategorien, min. 1)zu aktivierende Kategorien
redirect_urlstring (URI)Redirect nach Autorisierung
external_xrefstringexterne Referenz-ID
scopesstring[]optionale Scopes

Antwort: { url, connection_id } — Nutzer zur url schicken, danach mit connection_id finalisieren:

Body — finalisieren (POST /v1/integrations/callback)

FeldTypPflicht
connection_idstring

Daten abrufen (GET /v1/integrations/{connectionId}/{category}/{objectType})

{objectType} z. B. contact, company, deal, ticket, event, file. Query: limit (1–100, default 50), offset, query, updated_gte (ISO).

bash
curl "https://api.eu.liza.app/api/v1/integrations/CONN_ID/crm/contact?limit=20&query=acme" \
  -H "Authorization: Bearer DEIN_TOKEN"

Passthrough (POST /v1/integrations/{connectionId}/passthrough)

FeldTypPflichtBeschreibung
methodenum GET|POST|PUT|PATCH|DELETEHTTP-Methode
pathstringPfad beim Drittsystem
dataobject | nullBody/Query

Für alles, was die generischen Endpunkte nicht abdecken:

bash
curl -X POST https://api.eu.liza.app/api/v1/integrations/CONN_ID/passthrough \
  -H "Authorization: Bearer DEIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"method":"GET","path":"/crm/contacts","data":{}}'

Liza Documentation