Log inGet started

Build on the Apex API.

A REST API, official SDKs, and webhooks for every part of the testing flow. Spin up experiments, ship variants, query results — programmatically.

Read the docsView API reference
A.POST /experimentscURL
$curl -X POST https://api.apex.dev/v1/experiments \
-H "Authorization: Bearer apex_live_•••" \
-H "Content-Type: application/json" \
-d '{
"name": "Hero CTA — Scarcity",
"page": "/products/whey",
"variations": [{"key": "control"}, {"key": "scarcity"}],
"split": 50
}'
201 Created · 84 ms
{
"id": "exp_8f3kQz9R2",
"status": "draft",
"name": "Hero CTA — Scarcity",
"variations": [
{"key": "control", "split": 50},
{"key": "scarcity", "split": 50}
],
"created_at": "2026-05-18T07:54:02Z"
}

How Apex fits together.

Three primitives, one platform. Install the SDK, define an experiment, then collect the data however suits your stack.

01
Install

Drop the 5kb edge snippet in your <head>, or install the SDK for your stack. One key, zero config.

AB
02
Run

Create experiments via API, dashboard, or AI builder. Variants stream from the edge in under 200ms.

03
Query

Pull results over REST, stream events through webhooks, or open the dashboard. Same data either way.

Connect in two steps.

One Bearer token, one base URL, predictable JSON. Ready to spin up your first experiment in under a minute.

Authentication

All API requests require a Bearer token. Create a key from Admin → API Keys, copy it once, then include it in every request.

Authorization: Bearer YOUR_API_KEY
Create or copy an API keyExisting keys only show their prefix. Generate a new one if you lost the full secret.

Base URL

https://app.drip-apex.com/api/v1

This is the dashboard API base URL — not your storefront domain. Use your storefront domain only inside experiment targeting and store URLs.

Rate limited to 100 requests per minute per API key. Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.

API reference.

Every Apex resource over a clean REST surface. Authenticate with a Bearer key, batch with idempotency keys, paginate with cursors.

GET/v1/experimentsList all experimentsPOST/v1/experimentsCreate an experimentGET/v1/experiments/{id}Retrieve an experimentPATCH/v1/experiments/{id}Update an experimentPOST/v1/experiments/{id}/startStart a draft experimentPOST/v1/experiments/{id}/stopStop a running experimentDELETE/v1/experiments/{id}Archive an experimentGET/v1/experiments/{id}/variationsList variations on an experimentPOST/v1/experiments/{id}/variationsAdd a variationPATCH/v1/variations/{id}Update a variationDELETE/v1/variations/{id}Remove a variationGET/v1/goalsList all tracked goalsPOST/v1/goalsCreate a goalGET/v1/goals/{id}Retrieve a goal definitionPATCH/v1/goals/{id}Update a goalPOST/v1/goals/{id}/trackTrack a goal eventGET/v1/experiments/{id}/resultsLatest results for an experimentGET/v1/experiments/{id}/results/timelineDaily timeline of variant performanceGET/v1/experiments/{id}/significanceBayesian + frequentist significanceGET/v1/webhooksList configured webhooksPOST/v1/webhooksRegister a webhook endpointPATCH/v1/webhooks/{id}Update a webhookDELETE/v1/webhooks/{id}Remove a webhookPOST/v1/webhooks/{id}/testSend a test payload
Open the full OpenAPI spec

Six SDKs. One contract.

Type-safe clients, idiomatic for every stack you ship on.

JS
JavaScript
npm i @apex/sdk
PY
Python
pip install apex
GO
Go
go get apex.dev/sdk
RB
Ruby
gem install apex
PHP
PHP
composer require apex/sdk
SW
Swift
spm add Apex

Built like an API you actually want to integrate.

One key, one base URL, predictable JSON. Versioned endpoints, cursor pagination, idempotency on every write, signed webhook payloads. Read the docs once, ship the rest from your editor.

  • Predictable REST + JSON over HTTPS, on every endpoint.
  • First-party SDKs in six languages, type-safe by default.
  • Signed webhooks with retries and a 30-day replay window.
  • OpenAPI 3.1 spec — generate your own client in minutes.
Webhook · exp.results.updatedsigned
{
"event": "exp.results.updated",
"experiment_id": "exp_8f3kQz9R2",
"winner": "scarcity",
"lift": 18.4,
"significance": 0.97
}
Delivered to 3 of 3 endpoints · 1 retry available200 · 142ms
Live in five minutes.

Ready to test?

Start testing free
© 2026 Apex by Drip. All rights reserved.