{
  "opencollection": "1.0.0",
  "info": {
    "name": "Clozd /programs/:program Id/deals/:deal ID /programs/:program Id/deals/:deal ID API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "/programs/:program_id/deals/:deal_id",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get deal with details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clozd.com/public-api/v2/programs/:program_id/deals/:deal_id",
            "params": [
              {
                "name": "include[]",
                "value": "customFields,participants,products",
                "type": "query",
                "description": "Specifies type of data to include with deal. NOTE: Cannot include 'transcripts' without also including 'feedback' (maxItems:5)"
              },
              {
                "name": "program_id",
                "value": "760c040c-5dda-41e8-85ff-ef8f411d39d5",
                "type": "path",
                "description": "Clozd program ID (min:36 chars, max:36 chars)"
              },
              {
                "name": "deal_id",
                "value": "f9437462-7e03-4bcc-a4db-84fc0dba4d01",
                "type": "path",
                "description": "Clozd deal ID (min:36 chars, max:36 chars)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-token",
              "value": "{{x-api-token}}",
              "placement": "header"
            }
          },
          "docs": "Get a specific deal with details (basic fields, extra fields, (optionally) custom metadata fields, participants, products, published feedback responses, and full feedback transcript. Make sure the header is set with a key value pair being Key: x-api-token Value: (api token provided from the settings section within the Clozd application).\n - :program_id is required, you can get the program id from the settings page within the Clozd app. \n - :deal_id is required, see /programs/:program_id/deals to"
        }
      ]
    }
  ],
  "bundled": true
}