Skip to main content
GET
/
v1
/
workspaces
/
{workspaceId}
/
conversations
/
{conversationId}
Retrieve a conversation by ID
curl --request GET \
  --url https://api.bridge.new/v1/workspaces/{workspaceId}/conversations/{conversationId} \
  --header 'X-API-Key: <api-key>'
{
  "id": "conv_abc123",
  "workspaceId": "ws_abc123",
  "externalParticipants": [
    {
      "identifier": "john.doe@example.com",
      "type": "email",
      "role": "external",
      "joinedAt": "2024-01-15T10:30:00Z",
      "lastSeenAt": "2024-01-15T15:45:00Z"
    }
  ],
  "internalParticipants": [
    {
      "identifier": "john.doe@example.com",
      "type": "email",
      "role": "external",
      "joinedAt": "2024-01-15T10:30:00Z",
      "lastSeenAt": "2024-01-15T15:45:00Z"
    }
  ],
  "name": "Support Request - John Doe",
  "status": "active",
  "teamId": "team_sales",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T15:45:00Z"
}

Authorizations

X-API-Key
string
header
required

API Key authentication for machine-to-machine communication.

Authentication Process:

  1. Generate an access key and secret key pair from your Bridge dashboard
  2. Include the access key in the X-API-Key header
  3. Sign your requests using the secret key (HMAC-SHA256)
  4. Include the signature in the X-API-Signature header

Request Signing:

  • Create a string to sign: {HTTP_METHOD}\n{REQUEST_PATH}\n{REQUEST_BODY}\n{TIMESTAMP}
  • Generate HMAC-SHA256 signature using your secret key
  • Include timestamp in X-API-Timestamp header (Unix timestamp)
  • Include signature in X-API-Signature header

Example Headers:

X-API-Key: ak_1234567890abcdef
X-API-Timestamp: 1642234567
X-API-Signature: a1b2c3d4e5f6...

Path Parameters

workspaceId
string
required

Unique identifier of the workspace

Example:

"ws_abc123"

conversationId
string
required

Unique identifier of the conversation

Example:

"conv_abc123"

Response

Conversation retrieved successfully

id
string
required

Unique identifier for the conversation

Example:

"conv_abc123"

workspaceId
string
required

Unique identifier of the workspace this conversation belongs to

Example:

"ws_abc123"

externalParticipants
object[]
required

Array of external participants

status
enum<string>
required

Current conversation status - 'active' for visible conversations, 'ghost' for invisible until first interaction, 'archived' for completed conversations

Available options:
active,
archived,
ghost
Example:

"active"

createdAt
string<date-time>
required

Timestamp when the conversation was created

Example:

"2024-01-15T10:30:00Z"

updatedAt
string<date-time>
required

Timestamp when the conversation was last updated

Example:

"2024-01-15T15:45:00Z"

internalParticipants
object[]

Array of internal participants

name
string

Optional name/title for the conversation

Example:

"Support Request - John Doe"

teamId
string

Team ID if assigned via round-robin

Example:

"team_sales"

I