---
title: "Get logs object types"
method: PUT
path: "/{sub_domain}/api/logs"
tags: ["Logs"]
---

# Get logs object types

`PUT /{sub_domain}/api/logs`

## Request

- Base URL: `https://api.commpeak.com/dialer`
- URL: `https://api.commpeak.com/dialer/{sub_domain}/api/logs`
- Auth: API key in header `Authorization`

Returns the list of object types available in the audit logs, for use as the object_type filter on GET /logs.

## Path parameters

- `sub_domain` string, required: Dialer Name (subdomain)

## Response `200`

Successful Response

- ObjectTypesResponse
  - `objectTypes` string[], required: List of all object types available on the logs.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
