GET
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
metamessages
/
{metamessage_id}
import Honcho from 'honcho-ai';

const client = new Honcho({
  apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const metamessage = await client.apps.users.metamessages.get('app_id', 'user_id', 'metamessage_id');

  console.log(metamessage.id);
}

main();
{
  "id": "<string>",
  "metamessage_type": "<string>",
  "content": "<string>",
  "user_id": "<string>",
  "session_id": "<string>",
  "message_id": "<string>",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required

ID of the app

user_id
string
required

ID of the user

metamessage_id
string
required

ID of the metamessage to retrieve

Response

200
application/json
Successful Response
id
string
required
metamessage_type
string
required
content
string
required
user_id
string
required
session_id
string | null
required
message_id
string | null
required
metadata
object
required
created_at
string
required