Get edrs

GEThttps://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).

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <credentials>, where <credentials> is the Base64 encoding of username and password joined by a colon.

Query Parameters

offsetinteger

offset

messageIdsstring

messageIds - comma-separated list of edr messageIds (1-10 items maximum)

timeFromstring

timeFrom (Example: 2024-01-01T00:00:00Z)

timeTostring

timeTo (Example: 2024-01-01T00:00:00Z)

broadcastRunIdinteger

broadcastRunId (Example: 1001)

phoneNumbersstring

phoneNumbers - comma-separated list of phone numbers (1-10 items maximum)

Response

application/json

OK

countinteger
dataarray<object>
data.bodystring
data.broadcastRunIdinteger
data.channelTypeinteger
data.clientInfostring
data.countrystring
data.countryCodestring
data.errorMessagestring
data.finalCostnumber
data.incomingDestNumberstring
data.isBillableboolean
data.isDeliveredboolean
data.isSeenboolean
data.isSentboolean
data.mdnStatusstring
data.messageIdstring
data.messageTypeinteger
data.networkstring
data.ratenumber
data.senderIdstring
data.sessionIdstring
data.timestring
data.timeDeliveredstring
data.timeSeenstring
data.timeSentstring
limitinteger
offsetinteger