waiaconnect

Documentation / Complete

Account status by API: trial, plan, billing and cut

GET /v1/account

Markdown

Building with AI? Connect it to your account over MCP: it checks your setup, creates webhooks and templates with your confirmation and writes the code for you. See how →

GET /v1/account tells your account's status, with your key: status (trial, trial_expired, active, courtesy, past_due, cancelled, suspended or cut), plan (code, name and whether it renews, ends or is past due), trial (endsAt, daysLeft), nextCharge (date, currency and amount of the next invoice), sending (paused, pausedSince, reason) and receiving (stopped, stoppedAt, receivingUntil: the day your numbers stop receiving if nothing changes). Never card or payment-method data.

It answers with sending paused too. With an expired trial or an overdue payment the rest of /v1 answers 402; GET /v1/account keeps answering, so your system knows what is going on and until when it receives.

Before the cut, by webhook. account.receiving_stopped is sent once, right before your numbers stop receiving, with stoppedAt, reason and sendingPausedSince. Catalog 7: list it by name. With no account webhook it reaches your number webhooks (one per URL).

A suspended number. suspendedConnections lists the numbers WAIA Connect suspended (only those: connectionId, externalId, since, reason, appealEmail); empty when none. The account itself is as status says.

Meta improved your limits. account.limits_improved goes out when Meta verifies one of your businesses or raises its limit of new conversations per day: businessId, connectionIds (that business's numbers), businessVerified, tier, previousTier, dailyConversations. One per business and state; list it by name (not even «all events» includes it).

# your account status (it answers even while sending is paused for billing)
curl "https://api.waiaconnect.com/v1/account" -H "Authorization: Bearer wc_live_YOUR_API_KEY"
# → { "account": { "status": "past_due", "sending": { "paused": true, "pausedSince": "…", "reason": "payment_failed" },
#       "receiving": { "stopped": false, "receivingUntil": "…", "daysLeft": 25 }, "nextCharge": null, … } }
const H = { "Authorization": "Bearer wc_live_YOUR_API_KEY" };
const { account } = await (await fetch("https://api.waiaconnect.com/v1/account", { headers: H })).json();
if (account.sending.paused) console.log("sending paused since", account.sending.pausedSince, account.sending.reason);
if (account.receiving.receivingUntil) console.log("receiving stops on", account.receiving.receivingUntil);
<?php
$ch = curl_init("https://api.waiaconnect.com/v1/account");
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer wc_live_YOUR_API_KEY"]]);
$a = json_decode(curl_exec($ch), true)["account"];
echo $a["status"], " ", $a["receiving"]["receivingUntil"] ?? "-", "
";
import requests
a = requests.get("https://api.waiaconnect.com/v1/account", headers={"Authorization": "Bearer wc_live_YOUR_API_KEY"}).json()["account"]
print(a["status"], a["sending"]["paused"], a["receiving"]["receivingUntil"])

Decide on status and receiving.receivingUntil, never on texts.

Paying or picking a plan brings everything back by itself: the numbers stay connected.

A suspended or cancelled account gets 403 ACCOUNT_SUSPENDED.