Create Conversations and Messages
Create Conversation
Authorization: Api-Key <Your API Key>
Content-Type: application/json{
"webChat": "String" // Web Chat ID
}import requests
response = requests.post(
url='https://api.maiagent.ai/api/v1/conversations/',
headers={
'Authorization': 'Api-Key <Your API Key>'
},
json={
'webChat': 'Your Web Chat ID'
}
)Send Message
Parameter Name
Type
Required
Description
Attachment Object Field Description
Attachment Field
Type
Required
Description
Field Name
Type
Description
Message Type Description
Last updated
Was this helpful?
