---
title: "Get Interaction"
method: GET
path: "/api/public/interactions/{interactionId}"
tags: ["Interactions"]
---

# Get Interaction

`GET /api/public/interactions/{interactionId}`

Retrieves details of a specific interaction identified by its ID.

## Path parameters

- `interactionId` integer, required

## Headers

- `x-openmic-public-key` string, required

## Response `200`

Interaction found

- InteractionResponse
  - `interactionId` integer — The ID of the interaction.
  - `fromPhoneNumberId` integer — The ID of the phone number initiating the interaction.
  - `toPhoneNumber` string — The phone number receiving the interaction.
  - `botId` integer — The ID of the bot involved in the interaction.
  - `timestamp` string, date-time — The timestamp when the interaction occurred.

## Other responses

- `401` — Unauthorized, JWT token is missing or invalid
- `404` — Interaction not found
- `500` — Internal server error

## Changes

- **2024-04-17** `f8a2e9441925` — 3 warning, 4 info
  - removed the optional property `message` from the response with the `401` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `500` status
  - the endpoint scheme security `apikey-header-x-openmic-public-key` was removed from the API
  - …3 more

[Change history](https://skmtc.dev/openmicai/apis/openmic-v1-external-api/changes/api/public/interactions/:interactionId/get.md)

---

[API](https://skmtc.dev/openmicai/apis/openmic-v1-external-api.md) · [All operations](https://skmtc.dev/openmicai/apis/openmic-v1-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openmicai/openmic-v1-external-api/revisions/f8a2e9441925/schema)
