/api/v1/chat-message-follow-ups (POST)
const url = 'https://api.endless.zaia.app/api/v1/chat-message-follow-ups';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"chatId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","dueDate":"2026-04-15T12:00:00Z","message":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.endless.zaia.app/api/v1/chat-message-follow-ups \ --header 'Content-Type: application/json' \ --data '{ "chatId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dueDate": "2026-04-15T12:00:00Z", "message": "example" }'Creates a chat message follow-up.
Request Bodyrequired
Seção intitulada “Request Bodyrequired”object
The id of the chat this follow-up belongs to.
The date and time when the follow-up message should be sent.
The follow-up message content.
Examplegenerated
{ "chatId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dueDate": "2026-04-15T12:00:00Z", "message": "example"}Responses
Seção intitulada “Responses”The chat message follow-up was created.
object
A UUID v4 string that identifies an entity.
The id of the chat this follow-up belongs to.
The id of the chat message this follow-up belongs to.
The date and time when the follow-up message should be sent.
The date and time when the follow-up went from pending to any other status.
The follow-up message content.
The reason why the follow-up failed.
The current status of the follow-up.
The id of the chat message that triggered the follow-up.
Example
{ "status": "pending"}Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}The chat was not found.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}The chat has no messages or the last message is from the user.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}