> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pocketflows.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview an SMS template as an image



## OpenAPI

````yaml /openapi.json get /sms_templates/{id}/preview.png
openapi: 3.0.3
info:
  title: Pocketflows API
  version: 0.0.4
servers:
  - url: https://api.pocketflows.com
    description: Production server
security:
  - HttpBasicAuth: []
paths:
  /sms_templates/{id}/preview.png:
    get:
      tags:
        - Sms templates
      summary: Preview an SMS template as an image
      parameters:
        - in: path
          name: id
          schema:
            type: string
          description: The ID of the SMS template
          required: true
      responses:
        '200':
          description: The image of the compiled SMS template
          content:
            text/html:
              schema:
                type: string
      security: []
components:
  securitySchemes:
    HttpBasicAuth:
      type: http
      scheme: basic

````