email_template
Retrieve all email templates
get/api/v1/template
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Templates successfully retrieved
Example response
{
"status": "success",
"status_code": 200,
"message": "Templates successfully retrieved",
"data": [
{
"id": "01910b38-22db-79a1-a766-26b69757e3d2",
"name": "template_name",
"body": "this is the email body",
"created_at": "2024-08-01T00:55:14.011782+01:00",
"updated_at": "2024-08-01T00:55:14.011782+01:00"
}
]
}Changes
No recorded changes to this operation across all 15 revisions of this API.