Skip to content

Marketing

Klaviyo mock API

Klaviyo REST API: profiles, lists and list membership, events and metrics, and system webhooks.

At a glance

Operations
436
Stateful operations
24
Stateful resources
5
Webhook events
4
Vendor API version
2026-10-15
Verification
Spec-verified

How it works

Use Klaviyo without calling Klaviyo, Inc.

authorization: Klaviyo-API-Key pk_ExampleKey0123456789

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Profiles & subscriptions6
Lists9
Events3
Metrics2
Webhooks4

Webhooks

Events your handlers can receive

Deliveries are unsigned: Klaviyo signs system webhooks with HMAC-SHA256 over the raw body followed by the Klaviyo-Timestamp header value; the engine's body-only HMAC signer cannot reproduce that, so deliveries carry the Klaviyo headers and body but no Klaviyo-Signature.

Coverage

436 operations

24 of them are stateful. The largest groups:

GroupOperations
Other operations412
Lists9
Profiles & subscriptions6
Webhooks4
Events3
Metrics2

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

6 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection (profiles, lists, list memberships, events, metrics, webhooks) holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Event listings are served from stateful storage, so very long event streams stop recording at the cap. Webhook signatures are not reproduced (see the unsigned reason).

MaxoPerf is not affiliated with, endorsed by, or sponsored by Klaviyo, Inc. Klaviyo is a trademark of its owner.