Email Templates
The Email Templates API enables you to retrieve email templates within your Rebill account.
GET/v2/email-templates/{id}
Get email template by ID
This endpoint allows you to retrieve an email template by its ID.
Required Path Parameters
id
string
required
Loading...
Response
{
"id": "a7aa15fc-101f-4f10-b3c9-40fb06a75319",
"organizationId": "d6eb6692-4543-4273-a982-0b073ce078f4",
"event": "initial-charge-accredited",
"enabled": true,
"subject": "string",
"html": "string",
"design_structure": "string",
"createdAt": "2024-02-27T23:13:36.585Z",
"updatedAt": "2024-02-27T23:13:36.585Z",
"deletedAt": "2024-02-27T23:13:36.585Z"
}
GET/v2/email-templates/
Get email templates
Use this endpoint to list all of your email templates.
Loading...
Response
[
{
"id": "a7aa15fc-101f-4f10-b3c9-40fb06a75319",
"organizationId": "d6eb6692-4543-4273-a982-0b073ce078f4",
"event": "initial-charge-accredited",
"enabled": true,
"subject": "string",
"html": "string",
"design_structure": "string",
"createdAt": "2024-02-27T23:13:36.585Z",
"updatedAt": "2024-02-27T23:13:36.585Z",
"deletedAt": "2024-02-27T23:13:36.585Z"
},
{
"id": "12bb15fc-11nd8-4f10-b4z9-4011111111",
"organizationId": "d6eb6692-4543-4273-a982-0b073ce078f4",
"event": "initial-charge-rejected",
"enabled": true,
"subject": "string",
"html": "string",
"design_structure": "string",
"createdAt": "2024-02-27T23:13:36.585Z",
"updatedAt": "2024-02-27T23:13:36.585Z",
"deletedAt": "2024-02-27T23:13:36.585Z"
}
]