v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Email Templates

Send Test Email By Type

post/v2/facts/{proj_id}/{env_id}/email_templates/{template_type}/send_test_email

Path parameters

template_type'approval_flows' | 'user_management' | 'test_email' required

An enumeration.

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Request body

from_addressstring email required

The from address the mails will be sent from

redirect_tostring uri required

The redirect url the user will be redirected to after clicking the link in the email

url_ttlstring required

The time to live of the url in the email, in seconds

subjectstring required

The subject of the email template

Response

Successful Response

{"stackTrail":"paths:/v2/facts/{proj_id}/{env_id}/email_templates/{template_type}/send_test_email:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}