Skip to main content
GET
/
messages
/
{id}
Get Message
curl --request GET \
  --url https://v1.api.flux-os.com/messages/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "data": {
    "from_user": "<unknown>",
    "message": "<string>",
    "id": "<string>",
    "thread": {
      "type": "<unknown>",
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "reply_to": {
      "thread": "<unknown>",
      "from_user": "<unknown>",
      "message": "<string>",
      "id": "<string>",
      "reply_to": "<unknown>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "user": {
      "stytch_id": "<string>",
      "organization": "<unknown>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "title": "<string>",
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "roles": "<unknown>",
      "permissions": "<unknown>"
    }
  }
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Path Parameters

id
integer
required

The message ID.

Response

A single message object containing message details.

data
object