Skip to main content
GET
Get a chat by external channel id

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY. Account API keys work in every workspace you belong to: send X-Notra-Organization-Id with the workspace id or slug to choose one. Workspace endpoints require it when you belong to more than one workspace; GET /v1/me/workspaces works without it. Organization keys only accept their own workspace there.

Query Parameters

source
enum<string>
required

Source the chat was linked with: a messaging platform, or dashboard for your own id.

Available options:
discord,
slack,
dashboard
Example:

"discord"

id
string
required

Channel ID on that platform, or the id you tagged the chat with.

Required string length: 1 - 200
Example:

"channel_123"

Response

Chat fetched successfully

chatId
string
required
title
string
required
createdAt
string
required
updatedAt
string
required
pinnedAt
string | null
required
externalChannelId
object | null