Direct Messages

Create or find chat — estimate

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

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

Path parameters

profile_idstring required

Profile ID

Request body

participant_namestring

Display name for the participant

participant_usernamestring

Display username for the participant

participant_external_idstring required

Platform participant ID (Instagram-scoped user ID for IG, PSID for Facebook, DID for Bluesky)

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.