Hi,
I have a backend bot that sends a chat event to the customers using live chat API
https://api.livechatinc.com/{{api_version}}/agent/action/send_event
It works well if I want to send the message as me but the issue is that I want to post the message as a bot and not as me.
When I use the bot id in the header as X-Author-Id (as suggested in the docs) it gives an error.
{
“error”: {
“type”: “validation”,
“message”: “Invalid author_id
value”
}
}
so what does this means? How do I solve this issue?
FYI bot id is correct as if I use the wrong id it gives
Bot agent <BOT_ID> does not exist
Will be great if some one could help me with it.
Thanks in advace