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

# Get the tenant repurpose template

> Returns the stored template for the tenant, creating it with the service defaults (`en` / `professional` / `medium` and per-platform tone, length, CTA, hashtag style and max hashtag counts) on first read.



## OpenAPI

````yaml /api-reference/ai-cms/openapi-TAGTEST.json get /ai/repurpose/template
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /ai/repurpose/template:
    get:
      tags:
        - AI Automation
      summary: Get the tenant repurpose template
      description: >-
        Returns the stored template for the tenant, creating it with the service
        defaults (`en` / `professional` / `medium` and per-platform tone,
        length, CTA, hashtag style and max hashtag counts) on first read.
      responses:
        '200':
          description: OK (template)
          content:
            application/json:
              example:
                success: true
                statusCode: 200
                message: Repurpose template loaded
                data:
                  tenantId: '{{objectId}}'
                  defaults:
                    language: en
                    tone: professional
                    length: medium
                  platforms:
                    linkedin:
                      tone: professional
                      length: medium
                      ctaTemplate: Share your perspective in the comments.
                      hashtagStyle: industry and thought-leadership hashtags
                      maxHashtags: 5
                    twitter:
                      tone: casual
                      length: short
                      ctaTemplate: Reply with your take.
                      hashtagStyle: short and specific hashtags
                      maxHashtags: 3
                    telegram:
                      tone: friendly
                      length: medium
                      ctaTemplate: Read the full article for details.
                      hashtagStyle: topic hashtags
                      maxHashtags: 6
                    instagram:
                      tone: friendly
                      length: medium
                      ctaTemplate: Save this post and share it with your network.
                      hashtagStyle: discoverability hashtags
                      maxHashtags: 8
                  updatedBy: null
                  createdAt: '2025-10-01T12:00:00.000Z'
                  updatedAt: '2025-10-01T12:00:00.000Z'
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/SocialTemplate'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden (role not allowed)
        '500':
          description: Failed to load the template
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Envelope:
      type: object
      properties:
        success:
          type: boolean
        statusCode:
          type: integer
        message:
          type: string
        data:
          type:
            - object
            - 'null'
      required:
        - success
        - statusCode
        - message
        - data
    SocialTemplate:
      type: object
      properties:
        defaults:
          $ref: '#/components/schemas/SocialTemplateDefaults'
        platforms:
          type: object
          properties:
            linkedin:
              $ref: '#/components/schemas/SocialPlatformTemplate'
            twitter:
              $ref: '#/components/schemas/SocialPlatformTemplate'
            telegram:
              $ref: '#/components/schemas/SocialPlatformTemplate'
            instagram:
              $ref: '#/components/schemas/SocialPlatformTemplate'
    SocialTemplateDefaults:
      type: object
      properties:
        language:
          type: string
        tone:
          type: string
        length:
          type: string
    SocialPlatformTemplate:
      type: object
      properties:
        tone:
          type: string
        length:
          type: string
        ctaTemplate:
          type: string
        hashtagStyle:
          type: string
        maxHashtags:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````