Skip to main content
GET
/
pwa
/
v3
/
projects
/
:project_slug
/
email_templates
/
:template_id
Get
curl --request GET \
  --url https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id \
  --header 'Authorization: Basic <encoded-value>'
{
  "request_id": "<string>",
  "email_template": {
    "template_id": "<string>",
    "name": "<string>",
    "sender_information": {
      "from_local_part": "<string>",
      "from_domain": "<string>",
      "from_name": "<string>",
      "reply_to_local_part": "<string>",
      "reply_to_name": "<string>"
    },
    "prebuilt_customization": {
      "button_border_radius": 123,
      "button_color": "<string>",
      "button_text_color": "<string>",
      "font_family": "ARIAL",
      "text_alignment": "LEFT"
    },
    "custom_html_customization": {
      "template_type": "LOGIN",
      "html_content": "<string>",
      "plaintext_content": "<string>",
      "subject": "<string>"
    }
  },
  "status_code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

project_slug
string
required
template_id
string
required

Response

Successful response

Response type

request_id
string
required
email_template
object
required
status_code
integer<int32>
required