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

# GetSendingThemeAPI reads the look the caller org's outbound mail renders in


> — derived from its Brand Style record, applied on its verified sending domain. Mirrors erdo\_get\_sending\_theme.




## OpenAPI

````yaml /api/openapi.json get /v1/sending-theme
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-09-09'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/sending-theme:
    get:
      summary: >
        GetSendingThemeAPI reads the look the caller org's outbound mail renders
        in
      description: >
        — derived from its Brand Style record, applied on its verified sending
        domain. Mirrors erdo\_get\_sending\_theme.
      operationId: GET:mcp.GetSendingThemeAPI
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  accent:
                    title: >
                      Accent is the hex color of the call-to-action button and
                      links.
                    type: string
                  card_background:
                    title: >
                      CardBackground is the hex color of the card body copy sits
                      on.
                    type: string
                  derived_at:
                    title: |
                      DerivedAt is when the theme was last derived (RFC 3339).
                    type: string
                  error_reason:
                    description: >
                      dropped and why (a color that did not read, a logo that
                      was not public).
                    title: >
                      ErrorReason explains a failed derivation, or lists the
                      tokens a ready one
                    type: string
                  font_family:
                    description: >
                      clients that load web fonts; the rest fall back to the
                      system face.
                    title: >
                      FontFamily is the Google Fonts family body text is set in,
                      for the mail
                    type: string
                  found:
                    description: >
                      — what every organization looks like before its first
                      branded send.
                    title: >
                      Found is false when no theme has ever been derived for
                      this organization
                    type: boolean
                  logo_url:
                    title: >
                      LogoURL is the public address of the logo rendered above
                      the message.
                    type: string
                  page_background:
                    title: >
                      PageBackground is the hex color of the ground behind the
                      content.
                    type: string
                  rationale:
                    title: >
                      Rationale is the one line the deriving model gave for its
                      choices.
                    type: string
                  source_slug:
                    type: string
                  source_title:
                    description: >
                      derived from; SourceUpdatedAt is that record's last change
                      at the time (RFC 3339). A record changed since makes the
                      theme stale, and the next send re-derives it.
                    title: >
                      SourceTitle and SourceSlug name the Brand Style record the
                      theme was
                    type: string
                  source_updated_at:
                    type: string
                  status:
                    description: >
                      use), "no\_brand\_style" (the organization has no Brand
                      Style record, so mail renders in the default look), or
                      "failed" (a record exists but yielded nothing usable — see
                      error\_reason). Empty when not found.
                    title: >
                      Status is the derivation's conclusion: "ready" (the theme
                      below is in
                    type: string
                  text:
                    title: |
                      Text is the hex color of headings and body text.
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````