Skip to content
v1.0.0
OAS 3.0.0

Stripo Email Template API

Stripo provides access to a variety of email templates that you can use based on your subscription plan. If you have registered your account and integrated your plugin application, you can access these templates.

After making the initial request to get an array of the available templates, you will need to make individual calls for each template to retrieve its HTML and CSS.

Server:
Client Libraries

Methods

Get Templates

Get templates matching the specified search criteria.

Query Parameters
  • type
    Type: stringenum
    required

    Specifies the variety of templates to be returned.

    • ​B​A​S​I​C
    • ​F​R​E​E
    • ​P​R​E​M​I​U​M
  • sort
    Type: stringenum
    default: 
    "ACTUAL"

    Defines how the templates are sorted in response.

    • ​N​E​W
    • ​A​C​T​U​A​L
  • limit
    Type: integer

    Regulates how many items should be returned per page (suggested limit of no more than 50).

  • page
    Type: integer

    Defines the number of the page.

  • template​Types
    Type: array integer[]

    Filters templates that specifically pertain to relevant categories.

  • template​Seasons
    Type: array integer[]

    Restricts the selection of templates to those associated with seasonal events categories.

  • template​Features
    Type: array integer[]

    Ensures that only templates related to specific feature categories are retrieved.

  • template​Industries
    Type: array integer[]

    Narrows down template selection to include only those featuring industry-specific categories.

Responses
  • 200
    Type: object
    • data
      Type: array object[]
    • total
      Type: integer

      Integer numbers.

Request Example for get/v1/templates
curl '/v1/templates?type=BASIC&sort=ACTUAL&limit=1&page=1&templateTypes=1&templateSeasons=1&templateFeatures=1&templateIndustries=1'
{
  "total": 1,
  "data": [
    {
      "templateId": 1,
      "name": "string",
      "logo": "string",
      "premium": true,
      "hasAmp": true,
      "updatedAt": 1,
      "createdTime": 1,
      "templateTypes": [
        {
          "id": 1,
          "name": "string"
        }
      ],
      "templateSeasons": [
        {
          "id": 1,
          "name": "string"
        }
      ],
      "templateFeatures": [
        {
          "id": 1,
          "name": "string"
        }
      ],
      "templateIndustries": [
        {
          "id": 1,
          "name": "string"
        }
      ]
    }
  ]
}

Get Template Details

Get the metadata, HTML, and CSS code for a specific template by ID.

Path Parameters
  • template​Id
    Type: integer
    required

    Integer numbers.

Responses
  • 200
    Type: object
    • created​Time
      Type: integer

      Integer numbers.

    • css
      Type: string
    • has​Amp
      Type: boolean
    • html
      Type: string
    • logo
      Type: string
    • name
      Type: string
    • premium
      Type: boolean
    • template​Features
      Type: array object[]
    • template​Id
      Type: integer

      Integer numbers.

    • template​Industries
      Type: array object[]
    • template​Seasons
      Type: array object[]
    • template​Types
      Type: array object[]
    • updated​At
      Type: integer

      Integer numbers.

Request Example for get/v1/templates/{templateId}
curl /v1/templates/1
{
  "templateId": 1,
  "name": "string",
  "logo": "string",
  "premium": true,
  "hasAmp": true,
  "updatedAt": 1,
  "createdTime": 1,
  "templateTypes": [
    {
      "id": 1,
      "name": "string"
    }
  ],
  "templateSeasons": [
    {
      "id": 1,
      "name": "string"
    }
  ],
  "templateFeatures": [
    {
      "id": 1,
      "name": "string"
    }
  ],
  "templateIndustries": [
    {
      "id": 1,
      "name": "string"
    }
  ],
  "html": "string",
  "css": "string"
}

Get Template Types

Get available values for the templateTypes parameter.

Responses
  • 200
    Type: array object[]

    Array of available values for the templateTypes parameter.

    • id
      Type: integer

      Integer numbers.

    • name
      Type: string
Request Example for get/v1/templates/types
curl /v1/templates/types
[
  {
    "id": 1,
    "name": "string"
  }
]

Get Template Seasons

Get available values for the templateSeasons parameter.

Responses
  • 200
    Type: array object[]

    Array of available values for the templateSeasons parameter.

    • id
      Type: integer

      Integer numbers.

    • name
      Type: string
Request Example for get/v1/templates/seasons
curl /v1/templates/seasons
[
  {
    "id": 1,
    "name": "string"
  }
]

Get Template Features

Get available values for the templateFeatures parameter.

Responses
  • 200
    Type: array object[]

    Array of available values for the templateFeatures parameter.

    • id
      Type: integer

      Integer numbers.

    • name
      Type: string
Request Example for get/v1/templates/features
curl /v1/templates/features
[
  {
    "id": 1,
    "name": "string"
  }
]

Get Template Industries

Get available values for the templateIndustries parameter.

Responses
  • 200
    Type: array object[]

    Array of available values for the templateIndustries parameter.

    • id
      Type: integer

      Integer numbers.

    • name
      Type: string
Request Example for get/v1/templates/industries
curl /v1/templates/industries
[
  {
    "id": 1,
    "name": "string"
  }
]