Developer Reference5 min read

REST API

HTTP endpoints for server-side integrations.

REST API

The SDK uses these HTTP endpoints under the hood. You can call them directly from your server for backend integrations, async conversion tracking, or non-browser surfaces like native apps and email.

The REST API mirrors what the SDK does on the client. Every call needs your project API key in the request body (the same key that's in your snippet) so we can attribute the call to the right project. The visitor UUID returned by /sdk/init is the linking identifier you carry through subsequent calls — including server-side conversion attribution.

For full request and response schemas, parameter types, and a try-it-out console, visit the API Reference page. The summary table below is the quick orientation.

MethodEndpointDescription
POST/sdk/initInitialize visitor, get test config
POST/sdk/trackTrack custom events
POST/sdk/convertRecord conversions
POST/sdk/identifySend user properties
GET/sdk/active/:keyVerify snippet installation

Frequently asked questions

Quick answers to the questions teams ask most about this part of Otter A/B.