---
title: "Create Interaction"
method: POST
path: "/api/public/interactions"
tags: ["Interactions"]
---

# Create Interaction

`POST /api/public/interactions`

Endpoint to create a new interaction between a bot and a phone number.

## Headers

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

## Request body

- InteractionRequest
  - `fromPhoneNumberId` integer, required — The ID of the phone number initiating the interaction.
  - `toPhoneNumber` string, required — The phone number receiving the interaction.
  - `botId` integer, required — The ID of the bot involved in the interaction.

## Response `200`

Interaction created successfully

- unknown

## Other responses

- `400` — Bad request, invalid input
- `401` — Unauthorized, JWT token is missing or invalid
- `500` — Internal server error

---

[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/6e5fad8b5bae/schema)
