v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
email_template

Create a new email template

post/api/v1/template

Request body

namestring required
bodystring required

Response

Template created successfully

statusstring
status_codeinteger
messagestring

Example response

{
  "status": "success",
  "status_code": 201,
  "message": "Template created successfully",
  "data": {
    "id": "01910c39-01e0-73b7-bed9-d326a6ea5197",
    "name": "send_otp",
    "body": "this is the email body",
    "created_at": "2024-08-01T05:35:48.3211659+01:00",
    "updated_at": "2024-08-01T05:35:48.3211659+01:00"
  }
}