> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zixflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Collection Record By ID

> This endpoint returns selected collection record data

#### Description

This API endpoint enables the retrieval of selected collection record data. The structure of the collection record data is dynamic and varies depending on the collection, with no fixed response keys within the data.

#### Path

<ParamField path="collectionId" type="string" required>
  A unique identifier for the collection.
</ParamField>

<ParamField path="recordId" type="string" required>
  A unique identifier for the collection.
</ParamField>

#### Response

<ResponseField name="status" type="boolean">
  Indicates the success or failure of the response. In this case, true
  signifies a successful operation.
</ResponseField>

<ResponseField name="message" type="string">
  Provides a human-readable message accompanying the response. In this instance,
  it confirms the successful retrieval of the record with the message "success"
</ResponseField>

<ResponseField name="data" type="object">
  The structure of the collection record data is dynamic and varies depending on the collection, with no fixed response keys within the data.
</ResponseField>

<ResponseExample>
  ```json 200-Success theme={null}
  {
      "status": true,
      "message": "success",
      "data": {
          "name": "Test Record",
          "firstName": "Test",
          "lastName": "Record",
          "emails": [
              "user@zixflow.com"
          ],
          "phoneNumbers": [
              "592965223",
              "9176639301"
          ],
          "company": {
              "_id": "64b60314e7cca0f47d780544",
              "name": "Zixflow",
              "avatar": ""
          },
          "jobTitle": "Developer",
          "description": "",
          "address": "Mumbai, India",
          "emailValidation": {
              "_id": "64ad815b273e66dae1afe124",
              "color": "#dbeddb",
              "name": "Deliverable",
              "isArchived": false,
              "order": 2
          },
          "facebook": "",
          "instagram": "",
          "linkedin": "",
          "twitter": "",
          "lastInteraction": "2023-11-06T02:34:45.405Z",
          "timezone": {
              "_id": "64ad82ba273e66dae1b04689",
              "color": "#e3e2e0",
              "name": "Pacific/Niue",
              "isArchived": false,
              "order": 1
          },

          "source": {
              "_id": "64ad815b273e66dae1afe141",
              "color": "#fadec9",
              "name": "Manually created",
              "isArchived": false,
              "order": 1
          },
          "owner": {
              "_id": "64411b92cc16b5b0b858cc5f",
              "name": "Agent Account",
              "avatar": "",
              "email": "dummy@outlook.com"
          },
          "share": [ ],
          "createdAt": "2023-07-14T07:55:43.517Z",
          "apiCustomAttribute": "Custom data",
          "apiPipeline": {
              "_id": "6520b88e4f7b6dea01cf9b7b",
              "name": "Stage 2",
              "color": "#02b55c",
              "order": 2,
              "isArchived": false,
              "timeInStatus": null,
              "celebrationEnabled": false,
              "statusType": "normal"
          },
          "apiPipeline1": {
              "_id": "64ae5870a3325d97495572f2",
              "name": "Stage 1",
              "color": "#5e6ad2",
              "isArchived": false,
              "timeInStatus": 0,
              "celebrationEnabled": false,
              "statusType": "normal"
          },
          "apiNumber1": 20,
          "apiNumber2": 30
      }
  }
  ```

  ```json 401-Unauthorised theme={null}
  {
    "status": false,
    "message": "No token provided"
  }
  ```
</ResponseExample>
