{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stytch B2B Authentication Application Email Template API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Email Template",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Getall",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/email_templates",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "GetAll retrieves all email templates for a project."
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/email_templates",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create creates an email template for a project."
        },
        {
          "info": {
            "name": "Get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get retrieves an email template for a project."
        },
        {
          "info": {
            "name": "Update",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update updates an email template for a project."
        },
        {
          "info": {
            "name": "Delete",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete deletes an email template for a project."
        },
        {
          "info": {
            "name": "Getdefault",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "email_template_type",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "GetDefault retrieves the default email template for a specific template type in a project."
        },
        {
          "info": {
            "name": "Setdefault",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "email_template_type",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "SetDefault sets the default email template for a specific template type in a project."
        },
        {
          "info": {
            "name": "Unsetdefault",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type",
            "params": [
              {
                "name": "project_slug",
                "value": "",
                "type": "path"
              },
              {
                "name": "email_template_type",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "UnsetDefault removes the default email template for a specific template type in a project."
        }
      ]
    }
  ],
  "bundled": true
}