Lyro
Ask Lyro to answer ticket
This API endpoint asks Lyro to answer a ticket based on the data provided. Responding can take up to 40 seconds. Currently, it only works for the first message in the ticket, which is why the request is limited to a single message.
post/lyro/tickets
Request
- Base URLhttps://api.tidio.com
- URLhttps://api.tidio.com/lyro/tickets
- AuthAPI key in header X-Tidio-Openapi-Client-Id and API key in header X-Tidio-Openapi-Client-Secret
Request body
Example request
{
"ticket_id": "01H6XZJ88T5PMRRQC3C54WY1EJ",
"subject": "Question about delivery",
"contact_email": "user@tidio.com",
"contact_name": "John Doe",
"recipient_email": "support@tidio.com",
"messages": [
{
"created_at": "2023-01-01T00:00:00+00:00",
"message_id": "01JVRXTTZ4ACV3JZTQS8ZVKASK",
"author_type": "contact",
"message_type": "public",
"attachments": [
"image.png"
],
"message_content": "Is it possible to ship the product to the USA?"
}
]
}Response
An answer to the ticket generated by Lyro or null if Lyro is not able to generate an answer.
Example response
{
"message_content": "Yes, we can ship the product to the USA."
}Changes
No recorded changes to this operation across all 1 revision of this API.