post https://{domain}.gorgias.com/api/tickets//messages
Create a message and either:
- not send it if the attribute sent_datetimeis filled. If you import a message that was already sent, make sure to set this value.
- send it to the recipients if the attribute sent_datetimeis empty.
- add it to the ticket as an internal note if you specified this channel. Internal notes are not sent to your customers.
When a message is created, it does not mean that this one has been sent because the creation and sending process are decoupled. Messages are basically sent asynchronously. Once a message has been sent, Gorgias will automatically update the message to fill the time when it was sent (sent_datetime).