Interactions

Create Interaction

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

post/api/public/interactions

Headers

x-openmic-public-keystring required

API key for authentication.

Request body

fromPhoneNumberIdinteger required

The ID of the phone number initiating the interaction.

toPhoneNumberstring required

The phone number receiving the interaction.

botIdinteger required

The ID of the bot involved in the interaction.

Response

Interaction created successfully

EmptyResponse required

Changes