GET
/
api
/
admin
/
content
/
templates
curl --request GET \
  --url http://localhost:3001/api/admin/content/templates
{
  "templates": [
    {
      "workspaceId": "<string>",
      "id": "<string>",
      "name": "<string>",
      "type": "Email",
      "definition": {
        "type": "MobilePush",
        "title": "<string>",
        "body": "<string>",
        "imageUrl": "<string>",
        "android": {
          "notification": {
            "channelId": "<string>"
          }
        }
      },
      "draft": {
        "type": "MobilePush",
        "title": "<string>",
        "body": "<string>",
        "imageUrl": "<string>",
        "android": {
          "notification": {
            "channelId": "<string>"
          }
        }
      },
      "updatedAt": 123
    }
  ]
}

Query Parameters

workspaceId
string
required

Response

200 - application/json
Default Response
templates
object[]
required