---
title: "Create or find chat — estimate"
method: POST
path: "/v1/social/profiles/{profile_id}/chats/estimate"
tags: ["Direct Messages"]
---

# Create or find chat — estimate

`POST /v1/social/profiles/{profile_id}/chats/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/social/profiles/{profile_id}/chats/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/social/profiles/{profile_id}/chats`.

## Path parameters

- `profile_id` string, required: Profile ID

## Request body

- object: Payload for idempotently creating (or finding) a chat by participant.
  - `participant_name` string: Display name for the participant
  - `participant_username` string: Display username for the participant
  - `participant_external_id` string, required: Platform participant ID (Instagram-scoped user ID for IG, PSID for Facebook, DID for Bluesky)

## 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)
