The api repository: our OpenAPI specification and Postman collection, ready to download

API & DocumentationSDKs, CLI & Libraries·· 184 views· 2 min read

This repository holds the description of our API in OpenAPI 3.1, plus a Postman collection made from it. It is for developers building an integration who want to generate a client, try requests or load the API into their tools.

What is in it

Two files. openapi/openapi.json describes all 256 operations of the API, with examples, errors and webhooks. Use it to generate a client in any language or to import into your tools.

postman/mozout-api.postman_collection.json has the same operations in Postman, one folder per area.

What you need

Your MozOut account and an API key, created in the API Center of My MozOut. You need Postman for the collection. The specification works in whatever tool you choose.

Downloading, step by step

1 Open the latest release and download the source archive.
2 Unzip it. The files are in the openapi and postman folders.
3 In Postman, import the collection. To generate a client, point your generator at openapi/openapi.json.
4 Put your key in the Authorization: Bearer <key> header and send your first request.
The Postman steps, one by one, are in importing our API into Postman.

The API key and its permissions

You authenticate with Authorization: Bearer <key>. The permissions depend on the operations you call: give the key only what your integration uses. See permissions by area and how to create the key.

Testing without spending

Keys that start with sandbox_ simulate writes and never charge. Keys that start with prod_ change the account and can charge. Send your first requests with a sandbox_ key.

Good to know

Base address: https://api.mozout.com.

Generated files: both come from the API specification. Do not edit them by hand.

Other clients: see also Insomnia and other API clients.

Help

If a request fails and you cannot tell why, open a support ticket and tell us the operation and the error message. The files are in the api repository, under the MIT license.

Want the specification and the collection on your computer?

Download the latest release

SEE ALSO

The OpenAPI specification of our API

Importing our API into Postman

Generating a client for your language

The repository on MozOut Git

SDKs and integrations, in the API documentation

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.