---
title: "Get edrs"
description: "Get edrs list. Supports filtering by either messageIds (1-10 max) or time range (requires both timeFrom and timeTo) with optional pagination…"
openapi: "/openapi/omni-api.yaml GET /edrs"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

`GET https://web.otpcod.ru/api/v1/edrs`

Get edrs list. Supports filtering by either messageIds (1-10 max) or time range (requires both timeFrom and timeTo) with optional pagination (offset/limit=100).

## Authentication

- `BasicAuth` — http basic AND `X-Api-Key` — apiKey in header: `X-Api-Key`

## Query parameters

- `offset` (integer) — offset
- `messageIds` (string) — messageIds - comma-separated list of edr messageIds (1-10 items maximum)
- `timeFrom` (string) — timeFrom (Example: 2024-01-01T00:00:00Z)
- `timeTo` (string) — timeTo (Example: 2024-01-01T00:00:00Z)
- `broadcastRunId` (integer) — broadcastRunId (Example: 1001)
- `phoneNumbers` (string) — phoneNumbers - comma-separated list of phone numbers (1-10 items maximum)

## Response 200

OK
  - response (object)
    - `count` (integer)
    - `data` (array)
      - `items` (object)
        - `body` (string)
        - `broadcastRunId` (integer)
        - `channelType` (integer)
        - `clientInfo` (string)
        - `country` (string)
        - `countryCode` (string)
        - `errorMessage` (string)
        - `finalCost` (number)
        - `incomingDestNumber` (string)
        - `isBillable` (boolean)
        - `isDelivered` (boolean)
        - `isSeen` (boolean)
        - `isSent` (boolean)
        - `mdnStatus` (string)
        - `messageId` (string)
        - `messageType` (integer)
        - `network` (string)
        - `rate` (number)
        - `senderId` (string)
        - `sessionId` (string)
        - `time` (string)
        - `timeDelivered` (string)
        - `timeSeen` (string)
        - `timeSent` (string)
    - `limit` (integer)
    - `offset` (integer)

## Response 400

Bad Request
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 500

Internal Server Error
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://iba-platform.jamdesk.app/api-specs.zip
