Skip to main content
Retrieve a message version

Authorizations

Authorization
string
header
required

A Tightknit admin API key, sent as Authorization: Bearer <key>.

Path Parameters

message_id
string
required

The message's id.

Pattern: ^msg_[a-zA-Z0-9]{12}$
version_id
string
required

The message version's id.

Pattern: ^mver_[a-zA-Z0-9]{12}$

Query Parameters

expand

Repeatable. Returns the named relation inline. One of: edited_by.

Available options:
edited_by

Response

Success

object
enum<string>
required

Always message_version.

Available options:
message_version
id
string
required

Unique identifier for the object.

Example:

"mver_2b3c4d5e6f7g"

created_at
string<date-time>
required

When an edit replaced this content.

message_id
string
required

The id of the message this is a version of.

Example:

"msg_9f2b8c1d4e5a"

version_number
integer
required

The message’s version this content was, counting from zero for the content before the first recorded edit.

Required range: x >= 0
title
string | null
required

Null on a comment.

body
string
required

The plaintext rendering of the body.

edited_by_id
string | null
required

Who made the edit that replaced this content, not who wrote it. Null when the editor is unknown or was forgotten.

Example:

"prof_9f2b8c1d4e5a"

edited_by
object | null

The member who made the edit. Present only when edited_by is expanded.