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

# List a Google Business Profile location's media

> Lists the photos and videos on a location's public profile: its logo, cover, interior shots, and so on. This is profile media, not the media attached to a post. Set contributed=true to read the separate, read-only gallery of photos customers submitted; those items carry an attribution block that Google requires you to display as provided, unaltered.



## OpenAPI

````yaml /api-reference/openapi.json get /platforms/google/accounts/{id}/media
openapi: 3.0.0
info:
  description: >-
    Unified social media inbox API. Read and respond to comments, DMs, reviews,
    and mentions across Instagram, Facebook, Threads, Google Business Profile,
    TikTok, LinkedIn, and YouTube through a single REST API. X/Twitter and
    Trustpilot coming soon.
  title: SocialAPI.AI
  contact:
    name: SocialAPI.AI Support
    email: support@social-api.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.social-api.ai/v1
security: []
paths:
  /platforms/google/accounts/{id}/media:
    get:
      tags:
        - Google
      summary: List a Google Business Profile location's media
      description: >-
        Lists the photos and videos on a location's public profile: its logo,
        cover, interior shots, and so on. This is profile media, not the media
        attached to a post. Set contributed=true to read the separate, read-only
        gallery of photos customers submitted; those items carry an attribution
        block that Google requires you to display as provided, unaltered.
      parameters:
        - description: Connected account ID
          name: id
          in: path
          required: true
          schema:
            type: string
        - description: Read the customer-contributed gallery instead of your own media
          name: contributed
          in: query
          schema:
            type: boolean
        - description: Items per page
          name: limit
          in: query
          schema:
            type: integer
        - description: Pagination cursor from a previous response
          name: cursor
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.GoogleMediaListResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.ErrorResponse'
        '404':
          description: Unknown account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api_endpoints.GoogleMediaListResponse:
      type: object
      properties:
        count:
          type: integer
          example: 12
        items:
          type: array
          items:
            $ref: '#/components/schemas/api_endpoints.GoogleMediaItem'
        next_cursor:
          type: string
        total_count:
          description: >-
            TotalCount carries no omitempty: zero is a real count (an empty
            gallery),

            not an absent one.
          type: integer
          example: 42
    api_endpoints.ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/api_endpoints.ErrorBody'
    api_endpoints.GoogleMediaItem:
      type: object
      properties:
        attribution:
          $ref: '#/components/schemas/api_endpoints.GoogleMediaAttribution'
        category:
          type: string
          example: INTERIOR
        created_at:
          type: string
          example: '2026-03-01T12:00:00Z'
        description:
          type: string
          example: Main dining room
        height_pixels:
          type: integer
          example: 1200
        id:
          type: string
          example: accounts/123/locations/456/media/789
        media:
          $ref: '#/components/schemas/api_endpoints.MediaRef'
        thumbnail_url:
          type: string
        width_pixels:
          type: integer
          example: 1600
    api_endpoints.ErrorBody:
      type: object
      properties:
        code:
          type: string
          example: resource.not_found
        message:
          type: string
          example: Account not found
        meta:
          type: object
          additionalProperties: {}
    api_endpoints.GoogleMediaAttribution:
      type: object
      properties:
        profile_name:
          type: string
          example: Jane S.
        profile_photo_url:
          type: string
        profile_url:
          type: string
        takedown_url:
          type: string
    api_endpoints.MediaRef:
      type: object
      properties:
        type:
          type: string
          enum:
            - image
            - video
          example: image
        url:
          type: string
          example: https://lh3.googleusercontent.com/p/abc
  securitySchemes:
    BearerAuth:
      description: >-
        Prefix your API key with "Bearer ". Example: `Authorization: Bearer
        sapi_key_...`
      type: apiKey
      name: Authorization
      in: header

````