Skip to main content
GET
/
api
/
email
/
templates
List email templates
curl --request GET \
  --url https://api.propops.app/api/email/templates \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": [
    {
      "ID": 1,
      "template_name": "Job Assignment Notification",
      "template_key": "job_assigned",
      "subject": "You have been assigned a new job: {{job_ref}}",
      "is_active": true
    }
  ]
}

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Authorization: Bearer a1b2c3d4e5f6...

Response

Email templates list

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

data
object[]