# Mocko creating mocks API

**Canonical:** https://apis.io/apis/mocko/creating-mocks-api/  
**Provider:** Mocko — https://apis.io/providers/mocko/  
**Base URL:** https://demo-api.mockoapp.net  
**Documentation:** https://mocko.dev/docs/creating-mocks

Mocko creating mocks API is one of 5 APIs that [Mocko](https://apis.io/providers/mocko/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Mocko creating mocks API as documented publicly: 8 operations. Contract generated from the documentation by API Evangelist (2026-10-21); not the provider's own document.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/files/{path*}` | Catch-all paths |
| POST | `/orders` | Templating \| Mocko Docs |
| GET | `/orders/{id}` | Templating \| Mocko Docs |
| POST | `/orders/{orderid}` | POST /orders/{orderId} |
| POST | `/outage/{state}` | Flags are key-value state that survives across requests. |
| GET | `/passthrough` | Most of the time you do not want to mock a whole API, just the parts that matter for the scenario at hand. |
| POST | `/payments/9` | POST /payments/9 |
| GET | `/payments/{id}` | Flags are key-value state that survives across requests. |

## Machine-readable artifacts (7)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/openapi/_ae-authored/mocko-creating-mocks-openapi-generated.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-get-payments-id-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-post-orders-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-post-orders-orderid-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-post-orders-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-post-outage-state-response-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/mocko/refs/heads/main/json-schema/mocko-get-orders-id-response-schema.json

## Other Mocko APIs (4)

- [Mocko API](https://apis.io/apis/mocko/mocko-api/)
- [Mocko core API](https://apis.io/apis/mocko/core-api/)
- [Mocko Recipes Overview API](https://apis.io/apis/mocko/recipes-api/)
- [Mocko Legacy v1 docs API](https://apis.io/apis/mocko/v1-api/)

---

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