Skip to main content

PUT

Message (Update)

/api/v1/app/message/update/<int:message_id>

Endpoint

/api/v1/app/message/update/<int:message_id>

Headers

{
    "Content-Type": "application/json",
    "Authorization": "Bearer <str:token>"
}

Body

{
    "content": "<str:rendered_html>",
    "panel_id": "<int:panel_id>",
    "thread_id": "<int:thread_id>",
    "meta": {json}
}

Response

{
    "id": "<int:id>",
    "status": "success",
    "message": "Message updated successfully",
    "content": "<str:rendered_html>",
    "content_md": "<str:markdown>",
    "panel_id": "<int:panel_id>",
    "thread_id": "<int:thread_id>",
    "created_by": "<str:created_by>",
    "created_on": "<datetime:created_on>",
    "updated_at": "<datetime:updated_at>",
    "meta": {json}
}