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.
| Method | Endpoint | Description |
|---|---|---|
| POST | /sdk/init | Initialize visitor, get test config |
| POST | /sdk/track | Track custom events |
| POST | /sdk/convert | Record conversions |
| POST | /sdk/identify | Send user properties |
| GET | /sdk/active/:key | Verify snippet installation |
Frequently asked questions
Quick answers to the questions teams ask most about this part of Otter A/B.