Skip to main content

REST API

Use the REST API for server-side automation or platforms that do not yet have an SDK.

Integration options

Whenever possible, use the native SDKs so installation tracking, session management, and retries happen automatically:

Direct API integration

If you are building a backend service or unsupported client, follow the Direct Integration Guide.

Quick reference

Authentication

X-App-Key: your-api-key
Content-Type: application/json

Base URL

https://api.ulink.ly

Core endpoints

EndpointPurpose
POST /sdk/installations/trackTrack app installations
POST /sdk/sessions/startStart a session
POST /sdk/sessions/{id}/endEnd a session
POST /sdk/linksCreate dynamic/unified links
GET /sdk/resolve?url=…Resolve link data

API key

Create or rotate keys under Dashboard → API Keys. Store them in your backend only.

Error codes

CodeMeaning
UNAUTHORIZEDInvalid/missing API key
PRECONDITION_REQUIREDMissing installation context
FORBIDDENPlan limit exceeded
NOT_FOUNDResource not found
VALIDATION_ERRORInvalid request payload

Query-parameter passthrough

Dynamic links accept an optional allowQueryPassthrough boolean field (default false). When enabled, query params appended to the live link URL are merged into the resolved parameters map delivered to the app, overriding any stored param with the same key. Values always arrive as strings.

See the Query-Parameter Passthrough guide for the full field reference, validation limits, and examples.

Next steps

  1. Read the Direct Integration Guide for full request/response examples.
  2. Implement installation tracking and session management first; other endpoints depend on that context.