action telnyx_get_usage_aggregations_sync { label: "getUsageAggregationsSync" description: "Generate and fetch WhatsApp usage aggregations synchronously. This endpoint will both generate and fetch the WhatsApp aggregations over a specified time period. " provider: telnyx method: GET path: "/whatsapp_usage_aggregations" encoding: json input: { type: "object" properties: { end_date: { type: "string" format: "date-time" } start_date: { type: "string" format: "date-time" } } additionalProperties: false } output: { type: "object" properties: { data: { type: "array" items: { type: "object" properties: { cost: { type: "object" properties: { amount: { type: "string" } currency: { type: "string" enum: ["AUD", "CAD", "EUR", "GBP", "USD"] } } } count: { type: "string" } direction: { type: "string" } message_type: { type: "string" } recipient_country_code: { type: "string" } record_type: { type: "string" } status: { type: "string" } telnyx_fee: { type: "object" additionalProperties: true } whatsapp_fee: { type: "object" additionalProperties: true } } } } } } }