WhatsApp

Connect a channel (WhatsApp, Google Business, Slack, Discord)

Start connecting one of your own channels. Returns a url to send the account owner to; after they approve, the account appears in GET /v1/messaging/accounts. WhatsApp opens a hosted sign-in page with Meta's Embedded Signup (you pick or create your WhatsApp Business number inside Meta's own window). The first connection opens your private workspace; each connected account is a monthly rental in credits (GET /v1/messaging/prices), charged when it is connected and renewed every month from your balance — when the balance cannot pay the renewal, the channel is disconnected. Facebook/Instagram/TikTok… sign-ins for posting are /v1/social/connect.

Billing: Free to start; the monthly rental is charged when the account is connected · Rate limit: 10/min

post/v1/messaging/connect

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/connect
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

platform'whatsapp' | 'googlebusiness' | 'slack' | 'discord' required
redirect_urlstring uri

Optional: where to send the user afterwards (https only). Without it they land on our confirmation page.

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
outputobject

Operation result (see each operation). While a Studio render is processing: stage (queued · transcribing · downloading · preparing · cleaning_voice · mixing_audio · rendering · finishing), phase (the engine's: download · prepare · voice · audio · encode · qa · upload, or null), progress (a percent, 0–100) and progress_fraction (0–1), eta_seconds (seconds left, never below 0) and estimate_seconds

errorstring nullable

Changes

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