Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

1.7 KB
Raw Blame
get:
  tags:
    - Inboxes
  operationId: getAccountBrandedEmailLayout
  summary: Get account branded email layout
  security:
    - userBearerAuth: []
    - userApiKey: []
  description: Get the account-scoped Liquid HTML layout used as the fallback for branded email replies.
  parameters:
    - $ref: '#/components/parameters/account_id'
  responses:
    '200':
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded_email_layout'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/bad_request_error'
patch:
  tags:
    - Inboxes
  operationId: updateAccountBrandedEmailLayout
  summary: Update account branded email layout
  security:
    - userBearerAuth: []
    - userApiKey: []
  description: Update or clear the account-scoped Liquid HTML layout used as the fallback for branded email replies.
  parameters:
    - $ref: '#/components/parameters/account_id'
  requestBody:
    required: true
    content:
      application/json:
        schema:
          $ref: '#/components/schemas/account_branded_email_layout_payload'
  responses:
    '200':
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded_email_layout'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/bad_request_error'
    '422':
      description: Validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/bad_request_error'