# Postman + Dizo

> Test the Dizo MCP server in a Postman MCP request, and explore the REST API with Bearer auth and variables, before you wire Dizo into an agent.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. Create an environment with a secret variable `dizo_key` set to a `dz_test_...` key (synthetic data, no credits).
2. Click **New → MCP**, choose **HTTP**, and enter `https://mcp.dizo.ai/mcp`.
3. On the **Authorization** tab, pick an **Auth Type** (OAuth 2.0, or Bearer Token with `{{dizo_key}}`), then click **Load Capabilities**.
4. Open the **Tools** tab, select `dizo_quote` or `dizo_search`, fill the arguments and click **Run**. Read the output on the **Response** tab.
5. For REST, create an HTTP request to `https://api.dizo.ai/v1/...` with **Bearer Token** auth set to `{{dizo_key}}`, and save both requests to a collection.

## Where to go
New → **MCP** → HTTP, enter `https://mcp.dizo.ai/mcp`, set Authorization, then Load Capabilities.

Open the Postman MCP request docs: https://learning.postman.com/docs/use/send-requests/protocols/mcp-requests/overview/

## MCP request
```
Type:            MCP → HTTP
URL:             https://mcp.dizo.ai/mcp
Authorization:   Bearer Token → {{dizo_key}}   (or OAuth 2.0)
Load Capabilities → Tools → dizo_search
Arguments:
{
  "query": "Heads of RevOps at US fintechs, 200-1000 employees",
  "limit": 25,
  "dry_run": true
}
Run → Response
```

## HTTP request (REST)
```
POST https://api.dizo.ai/v1/email/find
Authorization:  Bearer Token → {{dizo_key}}
Headers:        Idempotency-Key: {{$guid}}
Body (raw JSON):
{
  "first_name": "Maya",
  "last_name": "Okafor",
  "company_domain": "ledgerline.io",
  "dry_run": true
}
```

## Notes
- Start every new request with `"dry_run": true`: you see the exact credit cost and nothing is charged.
- Import `https://dizo.ai/openapi.json` to get every REST endpoint as a ready-made collection.
- To save an MCP request into an existing collection, Postman requires that collection to already hold at least one non-HTTP request.

## Related API docs
- [/docs/search](https://dizo.ai/docs/search.md)
- [/docs/email-find](https://dizo.ai/docs/email-find.md)
- [/docs/me](https://dizo.ai/docs/me.md)
- [/docs/pricing](https://dizo.ai/docs/pricing.md)


## What Postman is, and why it belongs in a Dizo build

Postman is an API client and collaboration platform. Most engineers know it for HTTP requests, collections and environments, but it also supports MCP requests: you point it at an MCP server, load the server's capabilities, browse its tools, fill in arguments and run them, with responses and server notifications shown in separate tabs.

That makes Postman the natural workbench before you wire Dizo into an agent or a workflow. You can see exactly which tools the [Dizo MCP server](/mcp) exposes, what each one expects, and what comes back, without a model in the loop guessing at arguments. And you can explore the REST API at `https://api.dizo.ai/v1` side by side. There is no Dizo workspace or listing in Postman; you use its standard MCP and HTTP request types.

## What you can do with it

Postman is for understanding and testing rather than production traffic. Useful jobs for a Dizo build:

- Load the Dizo MCP server and read every tool's description, including its credit cost, before you write agent instructions.
- Run `dizo_whoami` to confirm a key's scopes, endpoint allow-list, caps and rate limits.
- Run `dizo_quote` or any tool with `dry_run: true` to see exactly what a job would cost.
- Compare `dizo_search` output with a structured [people search](/docs/people-search) request to see how plain English is translated into filters in the `interpreted` field.
- Build a REST collection for email find, person enrich, company enrich and verify, with saved example responses for your team.
- Reproduce an error an agent hit in production, with the same body, and read `error.code` and `error.fix`.
- Add scripts and tests to a collection and run them in the Collection Runner as a smoke test of your integration.

## Connecting to the Dizo MCP server

Start with an environment. Create one called Dizo test and add a variable named `dizo_key` holding a `dz_test_` key. Test keys return synthetic data and never spend credits, so you can click Run as often as you like. Mark the variable as secret so its value is masked. Keep a second environment with a live key for when you need real results.

In your workspace, click **New** and choose **MCP**. Select **HTTP** as the communication method, not STDIO, and enter `https://mcp.dizo.ai/mcp` in the URL field. Postman detects the protocol version automatically. Open the **Authorization** tab and pick an Auth Type. Dizo accepts OAuth 2.1, and Postman supports OAuth 2.0 authorization on streamable HTTP MCP requests; it also has a Bearer Token type that sends `Authorization: Bearer` followed by the value you enter, here `{{dizo_key}}`. Check Postman's docs for which auth types your version offers on MCP requests.

Click **Load Capabilities** and accept the consent prompt if one appears. The **Tools** tab now lists every Dizo tool. Select one, fill in its arguments, and Postman builds the JSON message for you. Click **Run** and read the result on the **Response** tab. Start with `dizo_whoami`, which is free and tells you what the key is allowed to do.

When you are happy with a request, click **Save**, name it and choose a collection. Postman requires an existing collection to already contain at least one non-HTTP request before it will accept an MCP request, so you may need a new collection for MCP work.

Postman can also export an MCP server's configuration to hosts such as Claude Desktop, VS Code or Cursor. That is a convenient way to move from testing to daily use once you have confirmed the connection works. Check the exported file before you use it: if it contains a live key in plain text, move the key into that host's own secret or environment mechanism instead. The [Cursor](/integrations/cursor) and [VS Code](/integrations/vscode) pages show the config shapes those hosts expect.

## Exploring the REST API

For REST, the quickest route is to import Dizo's OpenAPI 3.1 file from `https://dizo.ai/openapi.json` through Postman's Import dialog, which generates a collection with every endpoint. Postman's support for OpenAPI 3.1 features has had gaps in the past, so check a few generated requests against the API docs.

Set authorization at the collection level: **Bearer Token**, with the token field set to `{{dizo_key}}`, so every request inherits it. Add an `Idempotency-Key` header using Postman's `{{$guid}}` dynamic variable on POST requests; Dizo never charges twice for a retry with the same key within 24 hours. Then add `"dry_run": true` to the body of any billable request while you explore. You get the exact credit cost of the call and nothing is charged or returned.

Read the response headers too. Every Dizo response carries `x-dizo-credits-used` and `x-dizo-credits-remaining`, which is a quick way to confirm what a call really cost and to understand the charging rules, such as searches billed per result returned and lookups billed only if found.

## Controlling spend while you test

The cheapest test is a free one. Use `dz_test_` keys for anything exploratory and `dry_run: true` for anything you run with a live key until you are sure of the body. Several endpoints are always free: count, key info, billing, pricing, batch status, suppression and feedback.

When you do need live data, use a key made for testing, created through [API keys](/docs/keys) with a small daily cap, say 200 credits, and a low `max_credits_per_request`. Add `max_credits` to request bodies as well. A careless search with `limit: 1000` costs up to 40 credits, and with `include: ["email","phone"]` it can cost much more, so a per-request ceiling is worth having even on a test key. As a reference point, 200 credits is $5 at the $0.025 pay-as-you-go rate, and those credits remain valid for 12 months.

## Example sessions

**Pre-flight for an agent build.** In an MCP request with a test key: run `dizo_whoami`, then `dizo_count` on your target segment to see totals and how many have emails, then `dizo_search` with `dry_run: true` and `limit: 100`. You now know the shape of the response, the cost of a page (100 × 0.04 = 4 credits before contact data) and which fields your agent should read. Paste the tool descriptions into your agent's design notes.

**Contract test for a workflow.** A REST collection with four requests, email find, person enrich, company enrich and email verify, each with a test script that checks the status code and that `credits_used` is present. Run it in the Collection Runner after any change to your integration, against a test key, at no cost.

**Debugging a bad result.** A rep says an email bounced. Rerun the original email find in Postman with a live key and `dry_run: true` to confirm the input, then report the bounce with `POST /v1/feedback`, which is free. Confirmed bad-data reports are credited back automatically.

## Troubleshooting

If **Load Capabilities** fails, confirm you chose HTTP rather than STDIO and that the URL ends in `/mcp`. If you get a `401`, check the active environment: a `{{dizo_key}}` variable that is undefined in the selected environment sends an empty token. If you used Bearer Token auth, do not type the word Bearer yourself; Postman adds it.

A `404` from a lookup means nobody was found and nothing was charged. A `402` means a cap was reached on the key or account. For any other error, read `error.fix`, which says in plain English what to change, and retry only if `error.retryable` is true. Rate limits for the key appear in the `rate_limit` block of `GET /v1/me`.

## Security practices

Store keys only in environment variables marked secret, never in request bodies, headers typed by hand, or collection-level values that sync to a shared workspace. Before sharing a collection publicly or exporting a server config to another MCP host, check that no live key is embedded.

Keep live keys with `data:read` only and low caps, and revoke them when a testing phase ends. Postman is a good place to look at billing endpoints, but run billing writes such as top-ups or limit changes only from the console or with an owner's explicit approval. For how scopes work, see [scoped API keys](/features/scoped-api-keys).

## FAQ

### Can Postman connect to the Dizo MCP server?
Yes. Create an MCP request, choose HTTP, enter `https://mcp.dizo.ai/mcp`, set authorization and click Load Capabilities. The Tools tab then lists every Dizo tool for you to run.

### Is there an official Dizo collection or workspace?
No. There is no native Dizo listing in Postman. You can import `https://dizo.ai/openapi.json` to generate a collection, or build MCP requests yourself.

### How do I test without spending credits?
Use a `dz_test_` key, which returns synthetic data and is always free. With a live key, add `"dry_run": true` to the request for an exact quote with nothing charged.

### Which auth should I use for the MCP request?
Dizo accepts OAuth or `Authorization: Bearer` with a key. In Postman, pick the matching Auth Type on the Authorization tab and keep the key in a secret environment variable.

### Why can I not save my MCP request to an existing collection?
Postman requires that collection to already contain at least one non-HTTP request. Create a new collection for MCP requests, or save to one that already holds one.

### Should production traffic go through Postman?
No. Use Postman to explore, debug and smoke-test. Production calls belong in your agent, workflow tool or backend, each with its own capped key.
