---
title: Get a list of all Communications with a specific PetParent
slug: get-a-list-of-all-communications-with-a-specific-petparent
docTags: 
createdAt: 2026-04-21T15:22:49.957Z
---

{
  "id": "Z8xce_Kcy2rMWBfnPJH1e",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://developer.digitail.io/api/v1/client-communications",
    "servers": [
      {
        "url": "https://developer.digitail.io/api/v1/client-communications",
        "description": "Sandbox server (uses test data)"
      },
      {
        "url": "https://vet.digitail.io/api/v1/client-communications",
        "description": "Production server (uses live data)"
      }
    ],
    "name": "Get a list of all Communications with a specific PetParent",
    "description": "Get all appointments",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "filter[user_id]",
          "type": "integer",
          "description": "Id of the related PetParent"
        },
        {
          "kind": "optional",
          "name": "filter[patient_ids]",
          "type": "array",
          "description": "Ids of the patients that are related to the entity",
          "schema": [],
          "itemType": "integer",
          "customType": "integer[]"
        },
        {
          "kind": "optional",
          "name": "filter[date_between]",
          "type": "array",
          "description": "Dates between when the entity was created",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "optional",
          "name": "filter[content]",
          "type": "string",
          "description": "Filter subject and content"
        },
        {
          "kind": "optional",
          "name": "filter[email]",
          "type": "string",
          "description": "Destination email or users email"
        },
        {
          "kind": "optional",
          "name": "filter[phone]",
          "description": "Destination phone or users phone"
        },
        {
          "kind": "optional",
          "name": "filter[channels]",
          "type": "array",
          "description": "<p>The channels of the Client Communcations, array of values from CommunicationChannelEnum (e.g. phone, other, email, sms)</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "optional",
          "name": "filter[types]",
          "type": "array",
          "description": "<p>The types of the Client Communcations, array of values from CommunicationTypeEnum.</p>\n<p><code>inbound</code> additionally returns threads whose replies contain an inbound\nmessage. Results are thread roots, and an inbound email only ever exists as a\nreply, so it would otherwise be unreachable through this filter.</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "optional",
          "name": "filter[statuses]",
          "type": "array",
          "description": "<p>The statuses of the Client Communcations, array of values from CommunicationStatusEnum</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "optional",
          "name": "filter[is_attached]",
          "type": "boolean",
          "description": "<ul>\n<li>\n<p><code>true</code> - return only communications that are associated with a record.</p>\n</li>\n<li>\n<p><code>false</code> - return only communications that are not associated with a record.</p>\n</li>\n</ul>"
        },
        {
          "kind": "optional",
          "name": "include",
          "type": "array",
          "description": "<p>Additional info to include. You can use multiple, comma separated.</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        },
        {
          "kind": "optional",
          "name": "slim_resource",
          "type": "boolean",
          "description": "Return a slim version for related record"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "passport",
          "name": "passport",
          "kind": "optional",
          "type": "oauth2",
          "description": "Laravel passport oauth2 security.",
          "oauth2Flows": {
            "authorizationCode": {
              "authorizationUrl": "https://digitail.test/oauth/authorize",
              "tokenUrl": "https://digitail.test/oauth/token",
              "refreshUrl": "https://digitail.test/oauth/token"
            }
          }
        },
        {
          "id": "Bearer",
          "name": "Bearer",
          "kind": "optional",
          "type": "http",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1client-communications/post/responses/201/content/application~1json/schema/properties/data",
                "customType": "data[]",
                "schema": []
              },
              {
                "name": "links",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1pets/get/responses/200/content/application~1json/schema/properties/links",
                "customType": "links",
                "schema": []
              },
              {
                "name": "meta",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1pets/get/responses/200/content/application~1json/schema/properties/meta",
                "customType": "meta",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "N4mvdecdMd9BGtHXr0pdo",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://developer.digitail.io/api/v1/client-communications \\\n     --header 'accept: application/json'"
        },
        {
          "id": "XhaWuqKdPS4AJUXJgbmaH",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://developer.digitail.io/api/v1/client-communications\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "U991ylykbPdxGADNAnaYU",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://developer.digitail.io/api/v1/client-communications\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "CW-AY8NAfyDjFE8zk2Y41",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://developer.digitail.io/api/v1/client-communications\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "N4mvdecdMd9BGtHXr0pdo"
    },
    "results": {
      "languages": [
        {
          "id": "Z-FDYkau-DSCABSRVcFqV",
          "language": "200",
          "code": "// successful operation\n{\n  \"data\": [\n    \"\"\n  ],\n  \"links\": {},\n  \"meta\": {}\n}"
        }
      ],
      "selectedLanguageId": "Z-FDYkau-DSCABSRVcFqV"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}