{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio SendGrid Provisioning Account Templates Versions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Templates Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a new transactional template version.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sendgrid.com/v3/templates/:template_id/versions",
            "headers": [
              {
                "name": "on-behalf-of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**This endpoint allows you to create a new version of a template.**"
        },
        {
          "info": {
            "name": "Retrieve a specific transactional template version.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sendgrid.com/v3/templates/:template_id/versions/:version_id",
            "headers": [
              {
                "name": "on-behalf-of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path",
                "description": " The ID of the original template"
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The ID of the template version"
              }
            ]
          },
          "docs": "**This endpoint allows you to retrieve a specific version of a template.**"
        },
        {
          "info": {
            "name": "Edit a transactional template version.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.sendgrid.com/v3/templates/:template_id/versions/:version_id",
            "headers": [
              {
                "name": "on-behalf-of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path",
                "description": " The ID of the original template"
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The ID of the template version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**This endpoint allows you to edit the content of your template version.**"
        },
        {
          "info": {
            "name": "Delete a transactional template version.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sendgrid.com/v3/templates/:template_id/versions/:version_id",
            "headers": [
              {
                "name": "on-behalf-of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path",
                "description": " The ID of the original template"
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The ID of the template version"
              }
            ]
          },
          "docs": "**This endpoint allows you to delete a transactional template version.**"
        },
        {
          "info": {
            "name": "Activate a transactional template version.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sendgrid.com/v3/templates/:template_id/versions/:version_id/activate",
            "headers": [
              {
                "name": "on-behalf-of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path",
                "description": "The ID of the original template"
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The ID of the template version"
              }
            ]
          },
          "docs": "**This endpoint allows you to activate a version of one of your templates.**"
        }
      ]
    }
  ],
  "bundled": true
}