Mango
Get Mango Subscriptions Count
Get subscription count for each mango or filtered mangoes from query params.
- Currently only active and manually active subscriptions from dashboard are counted.
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
mangoes?string
Comma-separated list of mango ids
Header Parameters
x-whitelabel-host*string
Host name of the dashboard, ex: mydomain.tagmango.com
Response Body
application/json
application/json
application/json
curl -X GET "https://api-prod-new.tagmango.com/api/v1/external/mangos/subscriptions/count" \ -H "x-whitelabel-host: string"{
"subscriptions": [
{
"mangoId": "63b4079dcdca2403e8909ce2",
"mangoTitle": "This is Free Service(03-Feb-23)",
"count": 496
},
{
"mangoId": "660e428aa4dcdc1ff9ff6d49",
"mangoTitle": "New Mango V.1",
"count": 4
}
],
"totalSubscriptions": 500
}{
"code": 400,
"type": "Bad request",
"statusMessage": "BAD_REQUEST",
"message": "Invalid request",
"success": false
}{
"code": 401,
"type": "Unauthorized",
"statusMessage": "UNAUTHORIZED",
"message": "Invalid token",
"success": false
}