Hi,
I am new to fresh-chat and I am trying to create a conversation using conversation post API.
My payload is
{
“status”: “new”,
“messages”: [
{
“message_parts”: [{
“text”: {
“content”: “Hii! Need help in receiving the refund.”
}
}],
"channel_id": "f3bd0985-edf1-4927-8819-8a934637bed4",
"message_type": "normal",
"actor_type": "Agent",
"actor_id":"578786f8-e444-4b9d-8958-8b3b7f5ebd4f"
}
],
"channel_id": "f3bd0985-edf1-4927-8819-8a934637bed4",
"users": [{
"id": "79fb6610-707f-4314-85db-9eb0e91f9698"
}]
}
I am getting this error:
{
“code”: 400,
“status”: “BAD_REQUEST”,
“message”: “Invalid actor_type passed”
}
Can somebody please help.