Messages (By Thread)
/api/v1/app/messages/thread/<int:thread_id>/
Endpoint
/api/v1/app/messages/thread/<int:thread_id>/
Query Strings
?show_all=true
Admin users only. Allows access to all Messages.
Pagination
?limit=<int:default(40)>
How many results to show at one time.
?offset=<int:default(0)>
How much to offset the results by (for example, if wanting to load page 2, we would offset this query by 40
in this example).
?sort_by=<str:default(-created_on)>
Which field to sort the field by? And which direction (descending by using the -
) the sort order should follow.
Headers
{
"Content-Type": "application/json",
"Authorization": "Bearer <str:token>"
}
Response
{
"id": "<int:id>",
"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}
}