Marketing

Bird MCP

Bird MCP lets agents manage omnichannel messaging on Bird: send and track SMS, email, WhatsApp, voice and Apple Messages, manage contacts, audiences, templates, numbers, domains, webhooks and workspaces, and read analytics.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Voice calls transcript

    Read a whole call as one script: `cues` in spoken order, each with `party` (an index into `parties`, `null` when unknown), `start_at`, `end_at` and `text`. Cues of an untimed transcript have null times and sit at their stream's start. `complete: false` means a stream's every transcription failed or the read was cut. An unknown call returns no cues, not 404.

  • Voice destinations list

    Every country the Voice service supports, each marked with whether the workspace has enabled it, whether the platform supports calling it (status), and its daily spend limit with today's usage. A call to a country the workspace has not enabled, or whose daily limit is spent, is refused, so check here when a specific destination fails while others succeed.

  • Voice legs get

    Fetch one leg by ID, at any point in its lifecycle. A leg still ringing or connected carries no economics yet: `duration_ms`, `billable_ms`, `ended_at`, and `cost` are null until it ends, and the same ID then returns the settled record. Poll here to watch one known leg; use `voice_legs_list` to find legs in the first place. When a leg was refused, `rejection_reason` can name the gate that turned it away. Sequence refusal reasons require `voice_management:read`; absence may mean the caller lacks that permission.

  • Voice legs list

    List the workspace's legs, newest first. Filter to `ringing`/`in_progress` for the legs in progress right now, to final statuses for completed records, or to any mix of the two. Use `from`/`to` for one known party number in international form, `from` for an exact calling `usr_` ID, `to` for a SIP extension or an exact `usr_`, `vrg_` or `vsq_` ID for a browser's call to that user, ring group or sequence, and `number` to search either side by fragment. These are per-leg records and do not include aggregate rates or totals. Use `voice_legs_get` to follow one leg to settlement.

  • Voice legs recordings audio

    Download one recording of a call as WAV audio. The leg ID and recording ID are the `leg_id` and `id` of an entry in `recordings` from `voice_calls_recordings_list`. Up to 5 MiB, audio returns inline as a blob; larger audio returns a pre-authorized URL valid 15 minutes and needing no Authorization header. Anyone holding that URL can hear the recording. A capture still in progress returns 425; retry once it ends. Audio expires 30 days after it starts, and then this returns 404, as does a recording whose capture failed.

  • Voice numbers get

    Fetch one phone number the workspace can use for voice by id: where its calls go, whether it may be presented on an outbound call, and where it came from. Use `voice_numbers_list` to find the id.

  • Voice numbers list

    List every phone number the workspace can use for voice, as a cursor page ordered by number. Each entry is one phone number, with where its calls go and whether it may be presented on an outbound call.

  • Voice ring groups get

    Read one ring group, including the default group, whose ID is vrg_ followed by the workspace ID's suffix.

  • Voice ring groups list

    List the workspace's ring groups, the default group first. The default group rings every user online in the browser phone.

  • Voice ring groups members list

    List a ring group's members. The default group's members are the users online in the browser phone now.

  • Voice settings get

    Read the workspace's voice settings: the default inbound route that every Bird number without its own route follows, and the daily spend limit with today's usage toward it. Bird numbers whose `inbound_configuration.route` is null use this route; verified caller IDs receive no calls and never do.

  • Voice stats by country

    Voice stats grouped by destination country, ranked by `sort` (default `total_legs`) and capped at `limit` (default 50, max 200); the response's `total` tells a capped ranking from a complete one. Countries sharing a calling code remain separate rows, so a `+1` leg to Canada appears under Canada. Legs whose destination cannot be determined collect under a null `country`. For failure causes use `voice_stats_by_response_code`.

  • Voice stats by hour of day

    Groups completed call legs by hour of day over up to 365 days. All 24 local hours are returned, numbered 0 through 23, including hours with no legs. Repeated hours during daylight saving transitions combine in one row. Rows rank by the requested metric, descending.

  • Voice stats by number

    Groups completed call legs by own number over up to 365 days. The own number is the source on outbound legs and the destination on inbound legs. Friendly names reflect the current configuration; deleted or unnamed numbers retain their number with a null name. Legs whose own side starts with `usr_` count in overall totals but not in number or country rows. Rows rank by the requested metric, descending.

  • Voice stats by number country

    Groups completed call legs by own number country over up to 365 days. The country belongs to the own number: the source on outbound legs and the destination on inbound legs. Unknown countries, including historical outbound legs without a recorded source country, share a null country row. Legs whose own side starts with `usr_` count in overall totals but not in number or country rows. Rows rank by the requested metric, descending.

  • Voice stats by response code

    Leg counts grouped by final SIP response code, the "how are my calls ending" view. Successes are rows too (`200` is one), so the rows sum to the whole period rather than to failures, and each row's `share` is against `period_total_legs`. Legs that got no final response collect under a null code. Capped at `limit` (default 50, max 200). This reports SIP outcomes; a call Bird itself refused carries no SIP code that distinguishes the cause, so read `rejection_reason` on the call record with `voice.get`.

  • Voice stats by trunk

    Voice stats grouped by SIP trunk, ranked by `sort` (default `total_legs`) and capped at `limit` (default 50, max 200); the response's `total` tells a capped ranking from a complete one. Compare `asr` and `short_leg_rate` across rows to find a degraded trunk. `trunk_name` is resolved as the response is built, and a null `trunk_id` is the row for legs that used no trunk, such as Verify voice legs.

  • Voice stats by weekday

    Groups completed call legs by weekday over up to 365 days. All seven weekdays are returned, numbered 1 for Monday through 7 for Sunday, including weekdays with no legs. Rows rank by the requested metric, descending.

  • Voice stats daily

    Per-day voice stats series (total and answered legs, `asr`, `acd_ms`), gap-filled with zero rows so a chart never interpolates, max 365 days. Set `timezone` to bucket by local calendar day instead of UTC. For hour resolution use `voice_stats_hourly`; for one aggregate row use `voice_stats_summary`.

  • Voice stats hourly

    Per-hour voice stats series (total and answered legs, `asr`, `acd_ms`), gap-filled with zero rows, max 30 days (720 rows). A longer window returns 422, so use `voice_stats_daily` for those. `from`/`to` are instants, each rounded down to the enclosing hour and echoed back in `period`. For one aggregate row use `voice_stats_summary`.

PreviousPage 16 / 21Next