---
title: "Get Conversation by External ID"
method: GET
path: "/conversations/by-external-id/{externalId}"
tags: ["Conversation"]
---

# Get Conversation by External ID

`GET /conversations/by-external-id/{externalId}`

## Request

- Base URL: `https://api.attention.tech/v2`
- URL: `https://api.attention.tech/v2/conversations/by-external-id/{externalId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/attention/apis/attention-service-v2/docs/conversations/by-external-id/:externalId/get.ts> (a function with typed inputs; its response is checked against the schema)

Looks up a conversation by its external application ID (the ID from the source system that originally imported the conversation). Returns the Attention conversation UUID if found.

## Path parameters

- `externalId` string, required

## Response `200`

Conversation found

- ConversationByExternalIdResponse
  - `conversation_id` string: Attention conversation UUID corresponding to the external ID

## Other responses

- `401`: Authentication failed - valid API key required
- `404`: No conversation found for the given external ID
- `default`: Unexpected error occurred

---

[API](https://skmtc.dev/attention/apis/attention-service-v2.md) - [All operations](https://skmtc.dev/attention/apis/attention-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/attention/apis/attention-service-v2/revisions/cd99c71f42bb?raw)
