Read an email template's draft, published version and history
Returns the draft, the published version and every version of one message's template at one scope and language. A message with no override at that scope answers with no versions and inherits its wording.
Quire permissions
Required capability: email_template/edit.
Credential scopes: email:read.
The acting subject must also be allowed to perform this action in the organisation.
https://your-organisation.quirelms.com/api/v1/email_templates/{message_key}/versionsAuthorisation
Path parameters
Query parameters
- scope_idoptionalstring
The category, course or activity the override applies to. Required unless level is tenant, and refused when it is.
format: uuid, pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Header parameters
Returns
200
Success.
401
The credential is missing, malformed, expired or revoked.
403
The credential lacks the scope this operation requires, or the acting subject lacks the capability.
404
No such resource, or none this credential is permitted to know about.
422
The request was understood and its content is not valid. errors names each field.
429
A rate limit or a concurrency cap was reached. Retry-After says when to try again.
500
Something failed at our end. Quote request_id when reporting it.