Mockfly Public API
API by Mockfly · rest
REST API to manage your [Mockfly](https://mockfly.dev) mock API projects programmatically: create a project from a script, import a whole project from your CI pipeline, or keep your mocks in sync with your codebase without opening the dashboard. Authentication uses your account API key (mf_…), sent as the raw value of the Authorization header (there is no Bearer prefix). The same key covers every operation (projects, endpoints and responses) on every project the account is a member of. The API Hub catalog (GET /hub/catalog) is completely open and needs no key. --- Maintenance note: this specification is maintained by hand in the [mockfly-page](https://github.com/zamarrowski/mockfly-page) repository (public/openapi.json); it is not generated from the backend. The functional source of truth is the [Public API documentation](https://mockfly.dev/docs/public-api/), so if the two ever disagree, trust the docs and please [open an…
Endpoint: https://api.mockfly.dev/
Verification: observed. Source: crawl.
Capabilities (16)
- List the free public mock APIs
- List the endpoints of a project
- Create an endpoint
- Get an endpoint
- Update an endpoint
- Delete an endpoint
- Create a mock response
- Update a mock response
- Delete a mock response
- Duplicate a mock response
- Replace the conditional rules of a response
- List your projects
- Create an empty project
- Create a project with its endpoints and responses in one call
- Update a project
- Delete a project