template

The template query in Bunny's GraphQL API, with its arguments, return type and an example request.

Scope required:

For a complete list of possible response fields see the Template type.

query template ($id: ID, $code: String, $format: String) {
  template (id: $id, code: $code, format: $format) {
    body
    createdAt
    id
    name
    subject
    title
    updatedAt
  }
}

ArgumentsLink to Arguments section

Name Type Description
id ID  
code String  
format String  

ResponseLink to Response section