Skip to main content
POST
Place a FaceTime Call Endpoint
Live. Places the call and returns a streamUrl — connect to it to stream the call’s audio both ways into your own UI (see Stream FaceTime Call Audio). Call-state webhooks fire call.ringing → call.answered → call.ended alongside.
No sandbox. A request from the Try it panel runs against production (https://app.tuco.ai) with the key you paste in, and places a real FaceTime call to a real device.

Overview

Dial a FaceTime Audio call from one of your workspace’s FaceTime-enabled lines to any phone number or Apple ID email that has FaceTime. The call goes out from the same Apple identity that texts the lead — no carrier, no “Potential spam” label. See FaceTime Audio Calling for how the feature works end to end. The endpoint enforces, in order:
  1. Line is FaceTime-enabled — the line must have the FaceTime Audio add-on and be reachable.
  2. One call per line — a line already on a call is locked; a second caller gets 409.
  3. Daily limit — a line may reach 40 different numbers per workspace day on FaceTime. See Daily limit.

Making a request

  • Method: POST
  • URL: https://app.tuco.ai/api/facetime/call
  • Headers: Authorization: Bearer tuco_... and Content-Type: application/json
  • Body: JSON with lineId and handle

Request body

string
required
The FaceTime line to call from — the line’s _id (MongoDB ObjectId). The line must be in your workspace and have the FaceTime Audio add-on. Get it from Get All Lines (lines with the add-on have a facetimeUsage field).
string
required
Who to call: a phone number in E.164 (e.g. +13025550123) or an Apple ID email (matched case-insensitively). The destination must have FaceTime.

Example


Response

200 OK — the dial was accepted and the line is ringing the destination.
string
The FaceTime call record ID. Keep it — you pass it to Control a FaceTime Call to hang up, mute, or unmute, and it’s the callDocId on every call webhook.
string
A one-time, per-call WebSocket URL for the call’s two-way audio. Open it to send your caller’s microphone and hear the other side — see Stream FaceTime Call Audio. The token is short-lived and scoped to this one call, and carries no API key, so it’s safe to use from a browser. Omitted only if audio streaming isn’t configured for your workspace.
200 means the call is ringing, not answered. A number only counts toward the daily limit once the call connects — Tuco measures this from the live call, not from anything your client reports. Unanswered and failed dials are free.

Errors

Errors return a JSON body with an error field (some add message and extra context).

409 in-use

One call per line. While a call is live (or within 30 minutes of a crashed one), another caller is refused:
The lock auto-frees 30 minutes after a crashed call, and the same caller can re-dial their own held line immediately (a closed tab that didn’t release it won’t lock you out).

429 facetime_daily_limit

The line has connected with 40 different numbers on this workspace day. Numbers it already reached today can still be called (repeats are free); new numbers resume after resetsAt (workspace midnight).
integer
Different numbers the line has connected with today.
integer
The per-day cap. Currently 40.
string
ISO 8601 — workspace midnight, when used returns to 0.
Read a line’s current count any time from the facetimeUsage field in Get All Lines — used, limit, remaining, resetsAt — so you can check before you dial instead of catching the 429.