---
title: "Get sent Voice logs"
method: GET
path: "/tts/3/logs"
tags: ["channels", "voice", "voice-reports-and-logs"]
---

# Get sent Voice logs

`GET /tts/3/logs`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/tts/3/logs`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

This method allows you to get logs of sent Voice messages. Voice logs are available for the last 48 hours!

## Query parameters

- `from` string
- `to` string
- `bulkId` string[]
- `messageId` string[]
- `generalStatus` 'ACCEPTED' | 'PENDING' | 'UNDELIVERABLE' | 'DELIVERED' | 'EXPIRED' | 'REJECTED'
- `sentSince` string, date-time
- `sentUntil` string, date-time
- `limit` integer
- `mcc` string
- `mnc` string

## Response `200`

successful response

- 13d6cf838c63455fe28fcf6ab1b4447c03d816f87ce89525d3cd759ca08a7b1aLogsResponse
  - `results` 13d6cf838c63455fe28fcf6ab1b4447c03d816f87ce89525d3cd759ca08a7b1aLogsReport[]: Array of voice message logs, one object per each message.
    - `bulkId` string: The ID that uniquely identifies the bulk of messages.
    - `messageId` string: The ID that uniquely identifies the message sent.
    - `to` string: Destination address of the voice message.
    - `from` string: The sender ID which can be alphanumeric or numeric.
    - `text` string: Content of the voice message that was sent.
    - `sentAt` string, date-time: Date and time when the voice message was initiated. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.
    - `doneAt` string, date-time: Date and time when the Infobip services finished processing the voice message (i.e. delivered to the destination, delivered to the destination network, etc.).
    - `duration` integer: Voice message duration in seconds.
    - `mccMnc` string: Mobile country and network codes.
    - `price` 13d6cf838c63455fe28fcf6ab1b4447c03d816f87ce89525d3cd759ca08a7b1aPrice: Sent voice message price.
      - `pricePerSecond` number: Price per one second of the voice message.
      - `currency` string: The currency in which the price is expressed.
    - `status` 13d6cf838c63455fe28fcf6ab1b4447c03d816f87ce89525d3cd759ca08a7b1aSingleMessageStatus: Indicates whether the message is successfully sent, not sent, delivered, not delivered, waiting for delivery or any other possible status.
      - `groupId` integer: Status group ID.
      - `groupName` string: Status group name that describes which category the status code belongs to, e.g. PENDING, UNDELIVERABLE, DELIVERED, EXPIRED, REJECTED.
      - `id` integer: Status ID.
      - `name` string: Status name.
      - `description` string: Human-readable description of the status.
    - `error` 13d6cf838c63455fe28fcf6ab1b4447c03d816f87ce89525d3cd759ca08a7b1aVoiceError: Indicates whether the error occurred during the query execution.
      - `groupId` integer: Error group ID.
      - `groupName` string: Error group name.
      - `id` integer: Error ID.
      - `name` string: Error name.
      - `description` string: Human-readable description of the error.
      - `permanent` boolean: Tells if the error is permanent.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error
- `4XX`: Error responses
- `5XX`: Error responses

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
