Interactions
Create Interaction
Endpoint to create a new interaction between a bot and a phone number.
POST
/
api
/
public
/
interactions
Headers
x-openmic-public-key
string
requiredAPI key for authentication.
Body
application/json
fromPhoneNumberId
integer
requiredThe ID of the phone number initiating the interaction.
toPhoneNumber
string
requiredThe phone number receiving the interaction.
botId
integer
requiredThe ID of the bot involved in the interaction.
Response
200 - application/json
The response is of type object
.