---
updatedAt: 2026-05-01T01:38:44.000Z
agentTools:
  projectIndex: https://developers.smarterdrafter.com/llms.txt
---

# Get a record by external ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Smarter Drafter API",
    "description": "Used by Smarter Drafter clients",
    "version": "v1"
  },
  "paths": {
    "/v1/clients/Records/{dataSource}/{externalId}": {
      "get": {
        "tags": [
          "Records"
        ],
        "summary": "Get a record by external ID.",
        "parameters": [
          {
            "name": "dataSource",
            "in": "path",
            "description": "The data source identifier of the matter.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "path",
            "description": "The external ID of the entity.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "ClientApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "MatterRecordTypeResponse": {
        "type": "object",
        "properties": {
          "apIdentifier": {
            "type": "string",
            "description": "Api identifier for the record type.",
            "nullable": true
          },
          "matterExternalId": {
            "type": "string",
            "description": "Identifier of the matter.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a record type associated with a matter in a record."
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "RecordAliasValueResponse": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string",
            "description": "Alias",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "Value",
            "nullable": true
          },
          "readOnly": {
            "type": "boolean",
            "description": "Indicates whether the record value is read-only and cannot be edited in the app."
          },
          "updatedAt": {
            "type": "string",
            "description": "Date and time when the value was last updated.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alias value associated with a record."
      },
      "RecordResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Internal ID of the record.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name/Label of the record.",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "description": "Date and time when a record was last updated.",
            "format": "date-time"
          },
          "matterId": {
            "type": "integer",
            "description": "Internal associated matter ID.",
            "format": "int32",
            "nullable": true
          },
          "contactId": {
            "type": "integer",
            "description": "Internal contact ID.",
            "format": "int64",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "description": "External identifier for a record.",
            "nullable": true
          },
          "active": {
            "type": "boolean",
            "description": "Indicates whether a record is active."
          },
          "aliases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordAliasValueResponse"
            },
            "description": "Aliases associated with a record.",
            "nullable": true
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatterRecordTypeResponse"
            },
            "description": "List of record types associated with a record.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a record response with its values and record types."
      }
    },
    "securitySchemes": {
      "ClientApiKey": {
        "type": "apiKey",
        "description": "Enter value of X-SmarterDrafter-Key header",
        "name": "X-SmarterDrafter-Key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Records"
    }
  ],
  "servers": [
    {
      "url": "https://{server}"
    }
  ],
  "x-readme": {}
}
```