---
title: "Query CBP census warnings for entries"
method: POST
path: "/cbp-queries/census-warnings"
tags: ["CBP queries"]
---

# Query CBP census warnings for entries

`POST /cbp-queries/census-warnings`

## Request

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

Requires the API key scope `filing`.

## Request body

- object
  - `blockHeaderParams` object, required
    - `processingPortCode` string
    - `processingFilerCode` string
    - `appIdCode` 'AE' | 'EQ' | 'SE' | 'CQ' | 'RE' | 'DE' | 'NE' | 'HA' | 'HB' | 'AD' | 'AH' | 'CW' | 'CJ' | 'CB' | 'EC' | 'FT' | 'FZ' | 'GE' | 'KI' | 'TP' | 'SF' | 'WP' | 'QP' | '$I' | 'MA' | 'CA' | 'AA' | 'MO' | 'QA' | 'PE' | 'SU' | 'TE' | 'RM' | 'FQ' | 'FI', required
  - `requestedFromDate` string
  - `requestedToDate` string
  - `entryNumbers` string[], required

## 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)
