Unidy Docs

Choose an integration surface

Choose REST API, SDK HTTP API, an application SDK, webhooks, or a provider connector.

Choose the interface that matches your caller and the work it needs to do. A project can combine several: a customer app can use an SDK for sign-in, a backend can synchronize records through REST, and a webhook receiver can process changes.

Choose your starting point

You need to…Start withAuthentication or setup
Connect an existing commerce, ticketing, or marketing platformProvider integrationsConfirm the connector, supported direction, required mapping, and rollout with your Unidy contact.
Maintain a v1 backend integrationREST API v1OAuth application, explicitly provisioned scopes, and an application access token.
Use v2 data, configuration, loyalty or agent toolsREST API v2Enabled instance; API key and roles, or qualifying delegated OAuth.
Use ready-made sign-in, registration, or profile components in a browserCustomer application SDKsSDK client API key and the package for your frontend.
Build your own customer UI, including native mobileSDK HTTP APISDK client API key; protected operations also use the signed-in customer's ID token.
Let a customer authorize access to supported REST resourcesUser-authorized REST accessOAuth Authorization Code flow and a subject-bound access token.
React when data changes in UnidyWebhooksA registration, signing secret, and your HTTPS receiver.

For hosted sign-in and single sign-on, start with Choose an authentication approach.

Backend integration: REST API

Choose the version explicitly. API v2 offers consistent envelopes, resource permissions, typed collections, brand configuration and MCP access on enabled instances. Its API keys and delegated OAuth differ from v1 credentials. Existing v1 clients require an explicit migration.

Use /api/v1 for backend synchronization, administrative workflows, and supported delegated operations. Your backend exchanges its OAuth credentials for an access token at /oauth/token and supplies that token on API calls. The application's scopes, the route's accepted token type, and applicable service and brand restrictions determine access.

bash
curl --get 'https://your-tenant-host/api/v1/users' \
  --data-urlencode 'changed_since=2026-01-01' \
  --data-urlencode 'limit=25' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

The user list requires changed_since. For credentials and a complete first read, follow Make your first request.

Customer interface: SDK or SDK HTTP API

The JavaScript package @unidy.io/sdk supplies web components; @unidy.io/sdk-react integrates them into React. Both use the SDK HTTP API at /api/sdk/v1. Use the package's sign-in and session helpers rather than implementing its token lifecycle twice.

If you are building a native app or need direct HTTP control, implement the SDK sign-in and registration flow. A protected profile call uses two credentials:

bash
curl 'https://your-tenant-host/api/sdk/v1/profile' \
  -H 'Authorization: Bearer YOUR_SDK_API_KEY' \
  -H 'X-ID-Token: YOUR_SIGNED_IN_USER_ID_TOKEN'

The SDK API key identifies the application; the ID token identifies the customer. An OAuth application secret belongs on a trusted backend and must not be substituted for the SDK key in a browser or mobile bundle.

Change notifications: webhooks

Webhooks send events such as user.created and ticket.updated to your receiver. Verify the signature before processing the body, persist accepted work, acknowledge promptly, and make duplicate processing safe. New registrations use v2 signing; existing registrations can use legacy v1. Follow Configure and secure a webhook for the version-specific verification procedure.

Pair webhooks with a REST reconciliation process when your integration maintains a copy of Unidy data. A later REST read shows current state; it cannot reconstruct every intermediate change or deleted record.

Platform connectors

Start with the guide for HubSpot, Campai, Eventim, Shopware, or Shopify when relevant. A connector can reduce custom development, but mapping, platform-side setup, consent handling, and rollout still need an owner. Confirm current availability and supported behavior before estimating the work.

Before implementation

Agree on the tenant and brand host, environments, data owner, roles/scopes or SDK allowed origins, and who can create the required dashboard configuration. Then use the chosen surface's first-request guide and reference. REST v1, REST v2 and the SDK HTTP API have different credentials, response envelopes and endpoint contracts; do not reuse a client unchanged between them.

Was this page helpful?