---
title: "Ask CBP to generate a manufacturer ID"
method: POST
path: "/cbp-queries/mid"
tags: ["CBP queries"]
---

# Ask CBP to generate a manufacturer ID

`POST /cbp-queries/mid`

## Request

- Base URL: `https://api.tarifflo.com/api/v2`
- URL: `https://api.tarifflo.com/api/v2/cbp-queries/mid`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Requires the API key scope `filing`.

## Request body

- object
  - `legalName` string, required
  - `address` string, required
  - `cityName` string, required
  - `countryCode` string, required
  - `postalCode` string, required
  - `documentId` string

## Response `200`

Successful response

- object
  - `shortJobId` string, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

---

[API](https://skmtc.dev/tarifflo/apis/tarifflo-api.md) - [All operations](https://skmtc.dev/tarifflo/apis/tarifflo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tarifflo/apis/tarifflo-api/revisions/f048ebac1ac5?raw)
