addedInput schema / properties
Added value: +{
+ "account_id": {
+ "description": "optional: report one line's plan; omit to report every line",
+ "type": "string"
+ }
+}
addedOutput schema / properties / lines
Added value: +{
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "calls_inbound": {
+ "description": "whether an incoming WhatsApp call to this number may ring your SIP PBX",
+ "type": "boolean"
+ },
+ "calls_outbound": {
+ "description": "whether your SIP PBX may place WhatsApp calls from this number",
+ "type": "boolean"
+ },
+ "display_name": {
+ "description": "the line's plan as the customer sees it",
+ "type": "string"
+ },
+ "history_days": {
+ "description": "how long this number's messages are retained, in days; 0 means forever",
+ "type": "integer"
+ },
+ "live": {
+ "description": "false when this number is released, locked, unlinked or dormant — its plan then unlocks nothing for the workspace",
+ "type": "boolean"
+ },
+ "max_attachment_mb": {
+ "description": "largest attachment this number can send, in MB; 0 means unlimited",
+ "type": "integer"
+ },
+ "messages_1h": {
+ "description": "messages this number's plan allows per hour; 0 means unlimited",
+ "type": "integer"
+ },
+ "messages_24h": {
+ "description": "messages this number's plan allows per 24 hours; 0 means unlimited",
+ "type": "integer"
+ },
+ "phone": {
+ "description": "the line's WhatsApp number",
+ "type": "string"
+ },
+ "plan": {
+ "description": "the line's plan slug",
+ "type": "string"
+ },
+ "webhooks_enabled": {
+ "description": "whether this number's plan includes webhooks",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "plan",
+ "display_name",
+ "phone",
+ "live",
+ "messages_1h",
+ "messages_24h",
+ "max_attachment_mb",
+ "history_days",
+ "webhooks_enabled",
+ "calls_inbound",
+ "calls_outbound"
+ ],
+ "type": "object"
+ },
+ "description": "every line's plan and limits, present only for the workspace view",
+ "type": "object"
+}
removedOutput schema / properties / max_accounts
Removed value: -{
- "description": "WhatsApp numbers this plan allows paired; 0 means unlimited",
- "type": "integer"
-}
addedOutput schema / properties / refusal
Added value: +{
+ "additionalProperties": false,
+ "description": "present only when account_id names a line that cannot be used",
+ "properties": {
+ "message": {
+ "description": "a human-readable explanation",
+ "type": "string"
+ },
+ "reason": {
+ "description": "why the call was declined",
+ "type": "string"
+ },
+ "refused": {
+ "description": "true when the call was declined rather than performed",
+ "type": "boolean"
+ },
+ "retry_after_seconds": {
+ "description": "seconds to wait before retrying; absent or 0 means retrying will not help",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "refused",
+ "reason",
+ "message"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+}
changedOutput schema / properties / voice_plan / description
Previous value: -"your voice plan (SIP calls), or null when you hold none; without one no SIP call runs"New value: +"the SIP calls this plan allows, or null when it allows none — or, for a workspace whose numbers are on different plans, null: see each line's calls_inbound/calls_outbound"
changedOutput schema / required
Previous value: -[
- "plan",
- "display_name",
- "server_version",
- "server_build_date",
- "max_accounts",
- "accounts_paired",
- "messages_1h",
- "messages_24h",
- "webhooks_enabled",
- "max_attachment_mb",
- "history_days",
- "voice_plan"
-]New value: +[
+ "plan",
+ "display_name",
+ "server_version",
+ "server_build_date",
+ "accounts_paired",
+ "messages_1h",
+ "messages_24h",
+ "webhooks_enabled",
+ "max_attachment_mb",
+ "history_days",
+ "voice_plan"
+]