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

# Get Google Business multi-location analytics

> Returns aggregated performance metrics for multiple Google Business locations over a date range using the Posttu Google Business API.



## OpenAPI

````yaml openapi.json POST /api/v1/google-business/analytics/multi
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/google-business/analytics/multi:
    post:
      tags:
        - Google Business
      summary: Get Google Business multi-location analytics
      description: >-
        Returns aggregated performance metrics for multiple Google Business
        locations over a date range.

        Requires API key scope: `google-business:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/GoogleBusinessGetMultiLocationAnalyticsInput
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GoogleBusinessMultiLocationAnalyticsResponse
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GoogleBusinessGetMultiLocationAnalyticsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Google Business Profile channel ID
          example: ch_gbp123
        locationNames:
          type: array
          items:
            type: string
          minItems: 1
        startDate:
          type: string
        endDate:
          type: string
      required:
        - channelId
        - locationNames
        - startDate
        - endDate
    GoogleBusinessMultiLocationAnalyticsResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/GoogleBusinessAggregatedMetrics'
      required:
        - success
        - data
    GoogleBusinessAggregatedMetrics:
      type:
        - object
        - 'null'
      properties:
        totals:
          type: array
          items:
            $ref: '#/components/schemas/GoogleBusinessMetricRecord'
        breakdown:
          type: array
          items:
            $ref: '#/components/schemas/GoogleBusinessMetricRecord'
      required:
        - totals
        - breakdown
      additionalProperties: {}
      description: The GoogleBusinessAggregatedMetrics.
    GoogleBusinessMetricRecord:
      type: object
      properties:
        locationId:
          type: string
        metricDate:
          type: string
        metricType:
          type: string
        metricValue:
          type: number
      required:
        - locationId
        - metricDate
        - metricType
        - metricValue
      additionalProperties: {}
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.