---
title: "Upload photo — estimate"
method: POST
path: "/v1/messaging/accounts/{accountId}/gmb-media/estimate"
tags: ["GMB Media"]
---

# Upload photo — estimate

`POST /v1/messaging/accounts/{accountId}/gmb-media/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/accounts/{accountId}/gmb-media/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/messaging/accounts/{accountId}/gmb-media`.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `category` 'CATEGORY_UNSPECIFIED' | 'COVER' | 'PROFILE' | 'LOGO' | 'EXTERIOR' | 'INTERIOR' | 'PRODUCT' | 'FOOD_AND_DRINK' | 'MENU' | 'COMMON_AREA' | 'ROOMS' | 'TEAMS' | 'AT_WORK' | 'ADDITIONAL': Where the photo appears on the listing
  - `sourceUrl` string, uri, required: Publicly accessible image URL
  - `description` string: Photo description
  - `mediaFormat` 'PHOTO' | 'VIDEO'

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
