S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceWhatsapp

Get Service Window Billing

GET
/whatsapp/service-window/billing

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

serviceWindowId*string
Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/whatsapp/service-window/billing?serviceWindowId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "totalMessages": 0,
  "totalFreeMessages": 0,
  "totalPaidMessages": 0,
  "totalCost": "string",
  "currency": "string"
}
curl -X GET "https://samva.app/api/v1/whatsapp/service-window/billing?serviceWindowId=497f6eca-6276-4993-bfeb-53cbbbba6f08"