Merion API

OpenAPI Spec

The machine-readable OpenAPI 3.x specification for the Merion API. Import it into your API client, generate a typed SDK, or explore it interactively in the Scalar UI.

Endpoint

GET https://api.merion.com.au/openapi.yaml
Authentication
None required
Response type
application/yaml — OpenAPI 3.x specification
Purpose
The authoritative machine-readable description of all Merion API routes, request/response schemas, and authentication requirements.

Interactive documentation

The Scalar UI at https://api.merion.com.au/docs renders this spec interactively. Most developers will prefer to explore the API there before downloading the raw YAML. The Scalar UI lets you inspect request/response schemas, view example payloads, and try authenticated endpoints directly in the browser.

Downloading the spec

curl -O https://api.merion.com.au/openapi.yaml

This saves the file as openapi.yaml in your current directory.

Importing into API clients

Postman

  1. Open Postman and click Import (top left).
  2. Select Link.
  3. Paste https://api.merion.com.au/openapi.yaml and click Continue.
  4. Postman generates a collection with all documented endpoints and example request bodies.

Insomnia

  1. Open Insomnia and go to Application → Import Data → From URL.
  2. Paste https://api.merion.com.au/openapi.yaml.
  3. Insomnia imports the spec and creates a request collection.

Bruno

  1. Open Bruno and create or select a collection.
  2. Use Import → OpenAPI Spec.
  3. Paste the URL or provide the downloaded openapi.yaml file.

SDK generation

The spec is standard OpenAPI 3.x and is compatible with any conformant code generator. See SDK & Tools for full generation instructions. Example using openapi-generator-cli:

# Install the generator
npm install -g @openapitools/openapi-generator-cli

# Generate a TypeScript Fetch client
openapi-generator-cli generate \
  -i https://api.merion.com.au/openapi.yaml \
  -g typescript-fetch \
  -o ./merion-client

Other supported generators include python, java, go, php, and many more. See the openapi-generator documentation for the full list.

What the spec covers

The OpenAPI spec documents the publicly accessible endpoints including the public forms endpoint. Authenticated endpoints are described in the spec but require a Bearer token obtained via the OIDC flow — see Authentication for the full walkthrough. The spec is the authoritative reference for request and response schemas; this documentation site provides prose context and integration recipes.

Versioning

The spec does not currently carry a version field. The Merion API does not use URL version prefixes (e.g. /v1/). Breaking changes are communicated via the Changelog and via direct notification to registered integrators. Non-breaking additions — new optional fields, new endpoints — are made without a version bump.

Get started

Ready to integrate with Merion?

API access is available to approved partners and integrators. Contact us to start the conversation — no commitment required.