# Apptimize Experiments API

**Canonical:** https://apis.io/apis/apptimize/apptimize-experiments-api/  
**Provider:** Apptimize — https://apis.io/providers/apptimize/  
**Base URL:** https://api.apptimize.com  
**Documentation:** https://apptimize.com/docs/apis/rest-api.html

Apptimize Experiments API is one of 2 APIs that [Apptimize](https://apis.io/providers/apptimize/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Experiments. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

Retrieve variant assignments and experiment data for a user.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/users/{user-id}/code-blocks/{code-block-variable-name}` | Get code-block variant for a user |
| GET | `/v1/users/{user-id}/dynamic-variables/{type}/{dynamic-variable-name}` | Get dynamic-variable value for a user |
| GET | `/v1/users/{user-id}/feature-flags/{feature-flag-variable-name}` | Get feature-flag state for a user |
| GET | `/v1/users/{user-id}/variant-info` | Get all variant assignments for a user |

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/apptimize/refs/heads/main/openapi/apptimize-experiments-api-openapi.yml
- **APIReference** — https://apptimize.com/docs/apis/rest-api.html

## Other Apptimize APIs (1)

- [Apptimize Events API](https://apis.io/apis/apptimize/apptimize-events-api/)

## Tags

Experiments

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/apptimize/apptimize-experiments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/apptimize/.
