---
title: Get a Testimonial specified by id.
slug: get-a-testimonial-specified-by-id
docTags: 
createdAt: 2025-08-10T07:26:32.596Z
---

{
  "id": "8PRK9UqoWBleZGb0aBm5j",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.usetrust.app/v1/testimonial/{id}",
    "servers": [],
    "name": "Get a Testimonial specified by id.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "id",
          "type": "string",
          "description": "The id of the testimonial."
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "basic",
          "name": "basic",
          "kind": "optional",
          "type": "http",
          "description": "Basic Authentication header",
          "scheme": "basic"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Returns details of a specific testimonial.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"id\":\"5339589b-69d4-4164-855a-92a1c2108eab\",\"workspaceId\":\"ede27f04-7919-4288-9128-df5d7451ec50\",\"created\":\"2025-08-10T08:05:55.4850063+00:00\",\"firstname\":\"Carsten\",\"lastname\":\"Schaefer\",\"title\":\"Adrian Dray\",\"subtitle\":\"GDPR Expert, Adrian Dray Consulting\",\"company\":\"Adrian Dray Consulting\",\"email\":\"adrian@email.com\",\"imageUrl\":\"https://dealmaker.blob.core.windows.net/images/t_0a9ab71cd20f4bf1b11130e71479743d/silhouette_male.png\",\"videoUrl\":\"https://video-cdn-eu-west-1.ziggeo.com/v1/applications/r1ac3a4cfe79f3896fce25bffbe16dd3/videos/r127c94ce5906ee6f636f6a582d77194/video.mp4\",\"testimonialText\":\"Always fantastic support. I love that Trust keep bringing out brilliant features on a recent basis that makes me and my clients go 'Wow'\",\"externalVideoHtml\":\"\",\"socialMediaProfiles\":[\"https://www.facebook.com/trusttestimonials\",\"https://www.linkedin.com/company/trust-platform\"],\"stars\":5,\"gaveConsent\":true,\"consentDateTime\":\"2025-05-05T08:05:55.4850089+00:00\",\"published\":true,\"answerVideos\":null}",
            "description": "",
            "customType": "TestimonialApiModel",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string<uuid>",
                "example": ""
              },
              {
                "name": "workspaceId",
                "kind": "optional",
                "type": "string<uuid>",
                "example": ""
              },
              {
                "name": "created",
                "kind": "optional",
                "type": "string<date-time>",
                "example": ""
              },
              {
                "name": "firstname",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "lastname",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "title",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "subtitle",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "company",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "email",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "imageUrl",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "videoUrl",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "testimonialText",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "externalVideoHtml",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "socialMediaProfiles",
                "kind": "optional",
                "type": "array",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              },
              {
                "name": "stars",
                "kind": "optional",
                "type": "number<float>",
                "example": ""
              },
              {
                "name": "gaveConsent",
                "kind": "optional",
                "type": "boolean",
                "example": ""
              },
              {
                "name": "consentDateTime",
                "kind": "optional",
                "type": "string<date-time>",
                "example": ""
              },
              {
                "name": "published",
                "kind": "optional",
                "type": "boolean",
                "example": ""
              },
              {
                "name": "answerVideos",
                "kind": "optional",
                "type": "array",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              }
            ],
            "modelRef": "#/components/schemas/TestimonialApiModel",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "string",
            "description": "",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "string",
            "description": "",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "500",
        "description": "Internal Server Error",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "string",
            "description": "",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "ssrRQL4t6BGUK4J4Cys4F",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.usetrust.app/v1/testimonial/{id} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "izKdz29q5AH1J0FPshQY7",
          "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://api.usetrust.app/v1/testimonial/{id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "g5pwwGmRIcaakqTVLOEtU",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.usetrust.app/v1/testimonial/{id}\")\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": "tuWtuA1D9Nc2aYTwnBhBZ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.usetrust.app/v1/testimonial/{id}\"\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"
        },
        {
          "id": "NJobx46fakt_vDYjQ7uYx",
          "language": "csharp",
          "label": "C#",
          "code": "var options = new RestClientOptions(\"https://api.usetrust.app\")\n{\n   MaxTimeout = -1,\n};\nvar client = new RestClient(options);\nvar request = new RestRequest(\"/v1/testimonial/{id}\", Method.Get);\nrequest.AddHeader(\"accept\", \"application/json\");\nrequest.AddHeader(\"content-type\", \"application/json\");\nRestResponse response = await client.ExecuteAsync(request);\nConsole.WriteLine(response.Content);"
        }
      ],
      "selectedLanguageId": "ssrRQL4t6BGUK4J4Cys4F"
    },
    "results": {
      "languages": [
        {
          "id": "f-038gOJvwCOdXe25A7pZ",
          "language": "200",
          "code": "// Returns details of a specific testimonial.\n{\n  \"id\": \"\",\n  \"workspaceId\": \"\",\n  \"created\": \"\",\n  \"firstname\": \"\",\n  \"lastname\": \"\",\n  \"title\": \"\",\n  \"subtitle\": \"\",\n  \"company\": \"\",\n  \"email\": \"\",\n  \"imageUrl\": \"\",\n  \"videoUrl\": \"\",\n  \"testimonialText\": \"\",\n  \"externalVideoHtml\": \"\",\n  \"socialMediaProfiles\": [\n    \"\"\n  ],\n  \"stars\": \"\",\n  \"gaveConsent\": false,\n  \"consentDateTime\": \"\",\n  \"published\": false,\n  \"answerVideos\": [\n    \"\"\n  ]\n}"
        },
        {
          "id": "W9dhXQjaVbaeZJms_xNSu",
          "language": "400",
          "code": "// Bad Request\n\"\""
        },
        {
          "id": "7j6aE977NqgDxt2-qdxVI",
          "language": "404",
          "code": "// Not Found\n\"\""
        },
        {
          "id": "B3qHMc2iKfDCYrQjztQwR",
          "language": "500",
          "code": "// Internal Server Error\n\"\""
        }
      ],
      "selectedLanguageId": "f-038gOJvwCOdXe25A7pZ"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}