Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

Using Postman as a CRUD#

Install Postman#

Postman is available as native apps (with support for Mac OS 10.10+, Linux and Windows 7+), as well as through a Google Chrome app. Head over to their website, select your preferred version and install it.

Import our collection#

You need to import our 2600Hz Kazoo APIs (OSS) Postman collection to your local install of Postman.

  1. First, copy this collection link by right-clicking on it and select Copy link.

  2. Open Postman and click on the Import button at the top left.

  3. In the popup, click on the Import From Link tab and paste in the collection link.

  4. Click the orange Import button and you will see the collection appear in the sidebar, on the left.

Configure your environment#

The last thing to do before you are able to make requests is to define Global Variables to automate the authentication process.

  1. First, copy this environment link by right-clicking on it and select Copy link.

  2. In Postman, click the Import button at the top left, paste in the environment link in the Import From Link tab, and click Import.

  3. In the dropdown at the top right, select your new 2600Hz Kazoo APIs (OSS)environment.

  4. Click on the eye icon next to the dropdown and select Edit for your newly added environment.

  5. Define the first four variables as follow:

    • base_url: server URL where Kazoo is running (no trailing slash)
    • username: username to login to your account
    • password: password to login to your account
    • account_name: name of the account to login to
  6. Once those variables are defined, just click the Update button at the bottom of the popup and close the subsequent popup.

Generate a token#

Now that you have imported the collection and set up your environment variables, you need to generate an authentication token. For you convenience, you will only need to generate this token once per session as it will be stored as an environment variable.

  1. Click on the collection in the sidebar, then on the user_auth folder and select the user_auth.create endpoint to load it in the request builder.

  2. To run the collection, you just have to click the Send button.

    1. If the request does not go through, it might be because your server is using a Self-Signed SSL Certificate. To fix this, turn off the SSL certificate verification toggle in Settings > General.
  3. You can now play with the list of endpoints in the collection! If your token expires, you just have to run the use_auth.create endpoint again to generate a new one.