GET
/
message-templates
curl --request GET \
  --url https://api.gleap.io/v3/message-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
[
  {
    "updatedAt": "<string>",
    "createdAt": "<string>",
    "lexorank": "<string>",
    "project": {
      "isValid": {},
      "createFromHexString": {},
      "createFromTime": {},
      "generate": {},
      "cacheHexString": "<any>",
      "prototype": "<string>"
    },
    "content": "<any>",
    "title": "<string>",
    "isPublic": true,
    "users": [
      "<string>"
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Response

200 - application/json
Ok
updatedAt
string
required
createdAt
string
required
isPublic
boolean
required
users
string[]
required
lexorank
string
project
object
content
any
title
string