---
title: "Submit telco data usage report"
method: POST
path: "/legacy_reporting/usage_reports/number_lookup"
tags: ["Telco Data Usage Reports"]
---

# Submit telco data usage report

`POST /legacy_reporting/usage_reports/number_lookup`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/legacy_reporting/usage_reports/number_lookup`
- Auth: HTTP bearer

Submits a new telco data (number lookup) usage report request. The report is generated asynchronously; retrieve it by its identifier once ready.

## Request body `*/*`

- TelcoDataUsageRequest
  - `startDate` string, date: Start date for the usage report
  - `endDate` string, date: End date for the usage report
  - `aggregationType` 'ALL' | 'BY_ORGANIZATION_MEMBER': Type of aggregation for the report
  - `managedAccounts` string[]: List of managed accounts to include in the report

## Response `200`

Successfully submitted telco data usage report

- TelcoDataPostUsageReportResponse
  - `data` TelcoDataUsageReportResponse: Telco data usage report response
    - `id` string, uuid: Unique identifier for the report
    - `start_date` string, date: Start date of the report period
    - `end_date` string, date: End date of the report period
    - `aggregation_type` string: Type of aggregation used in the report
    - `status` string: Current status of the report
    - `report_url` string: URL to download the complete report
    - `created_at` string, date-time: Timestamp when the report was created
    - `updated_at` string, date-time: Timestamp when the report was last updated
    - `managed_accounts` string[]: List of managed account IDs included in the report
    - `result` TelcoDataUsageRecord[]: Array of usage records
      - `user_id` string, uuid: User ID
      - `aggregations` TelcoDataAggregation[]: List of aggregations by lookup type
        - `type` string: Type of telco data lookup
        - `total_dips` integer: Total number of lookups performed
        - `total_cost` number: Total cost for this aggregation
        - `currency` string: Currency code
      - `record_type` string: Record type identifier
    - `record_type` string: Record type identifier

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable entity
- `500`: Internal server error

## Changes

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/legacy_reporting/usage_reports/number_lookup/post.md)

---

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