openapi: 3.2.0 info: version: v1 title: Legacy API (v1) Email Template API description: '' servers: - url: https://app.practicepanther.com tags: - name: Email Template paths: /api/EmailTemplate: post: tags: - Email Template operationId: EmailTemplate_Post requestBody: content: application/json: schema: $ref: '#/components/schemas/EmailTemplateRequest' text/json: schema: $ref: '#/components/schemas/EmailTemplateRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/EmailTemplateRequest' required: true responses: '200': description: OK content: application/json: schema: type: string text/json: schema: type: string security: - oauth2: - full summary: Email template post x-summary-source: derived components: schemas: EmailData: type: object properties: from: $ref: '#/components/schemas/EmailAddressInfo' recipients: type: array items: $ref: '#/components/schemas/EmailAddressInfo' singleRecipientMode: type: boolean bcc: $ref: '#/components/schemas/EmailAddressInfo' subject: type: string bodyText: type: string bodyHtml: type: string attachments: type: array items: $ref: '#/components/schemas/EmailAttachment' customArguments: description: ' ' type: object EmailTemplateRequest: type: object properties: templateSerializedData: type: string templateDataType: type: string emailData: $ref: '#/components/schemas/EmailData' EmailAttachment: type: object properties: name: type: string byteArray: format: byte type: string EmailAddressInfo: type: object properties: email: type: string name: type: string securitySchemes: oauth2: type: oauth2 description: OAuth 2.0 - Authorization Code Grant flows: authorizationCode: authorizationUrl: /OAuth/Authorize tokenUrl: /OAuth/Token scopes: full: Read/Write access to all resources