/api/v1/chat-message-follow-ups/{id}
const url = 'https://api.endless.zaia.app/api/v1/chat-message-follow-ups/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"chatId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","chatMessageId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","dueDate":"2026-04-15T12:00:00Z","finishedAt":"2026-04-15T12:00:00Z","message":"example","reason":"example","status":"cancelled","triggerChatMessageId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.endless.zaia.app/api/v1/chat-message-follow-ups/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "chatId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "chatMessageId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dueDate": "2026-04-15T12:00:00Z", "finishedAt": "2026-04-15T12:00:00Z", "message": "example", "reason": "example", "status": "cancelled", "triggerChatMessageId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Updates a chat message follow-up.
Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”A UUID v4 string that identifies an entity.
A UUID v4 string that identifies an entity.
Request Bodyrequired
Seção intitulada “Request Bodyrequired”object
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 id of the chat message that triggered the follow-up.
Responses
Seção intitulada “Responses”The chat message follow-up was updated.
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 message follow-up 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" }}Only pending follow-ups can be updated.
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" }}