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

# Get cowriteorganization team template

<Warning>
  We're deprecating these API endpoints, so the AI Studio API key setup won't work. \[Contact support] ([https://support.writer.com/](https://support.writer.com/)) if you need them.
</Warning>


## OpenAPI

````yaml get /cowrite/organization/{organizationId}/team/{teamId}/template/{templateId}
openapi: 3.0.3
info:
  title: Writer Enterprise API
  version: '1.9'
servers:
  - url: https://enterprise-api.writer.com
security: []
tags:
  - name: content
    description: Content
  - name: snippet
    description: Snippet
  - name: coWrite
    description: CoWrite
  - name: user
    description: User
  - name: terminology
    description: Terminology
  - name: LLM
    description: LLM
  - name: billing
    description: Billing
  - name: styleguide
    description: Styleguide
paths:
  /cowrite/organization/{organizationId}/team/{teamId}/template/{templateId}:
    get:
      tags:
        - coWrite
      operationId: getTemplateInputs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: teamId
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: templateId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateDetailsResponse'
        '400':
          description: Bad Request
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailResponse'
        '401':
          description: Unauthorized
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailResponse'
        '403':
          description: Forbidden
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailResponse'
        '404':
          description: Not Found
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailResponse'
        '500':
          description: Internal Server Error
          headers:
            Action-Id:
              required: true
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailResponse'
components:
  schemas:
    TemplateDetailsResponse:
      required:
        - id
        - name
        - categoryId
        - creationTime
        - modificationTime
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        categoryId:
          type: integer
          format: int64
        inputs:
          type: array
          items:
            $ref: '#/components/schemas/Input'
        guideUrl:
          type: string
        creationTime:
          type: string
          format: date-time
        modificationTime:
          type: string
          format: date-time
    FailResponse:
      required:
        - tpe
        - extras
      type: object
      properties:
        tpe:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FailMessage'
        extras:
          $ref: '#/components/schemas/Json'
    Input:
      required:
        - name
        - type
        - required
        - dynamic
      type: object
      properties:
        name:
          type: string
        type:
          type: string
          enum:
            - textbox
            - textarea
            - dropdown
        help:
          type: string
        subtitle:
          type: string
        required:
          type: boolean
        options:
          type: array
          items:
            type: string
        dynamic:
          type: boolean
        minFields:
          type: integer
        maxFields:
          type: integer
        unitCopy:
          type: string
    FailMessage:
      required:
        - description
        - key
        - extras
      type: object
      properties:
        description:
          type: string
        key:
          type: string
        extras:
          $ref: '#/components/schemas/Json'
    Json: {}

````