Get Mangoes
Get all mangoes created by creator
Authorization
bearer In: header
Query Parameters
Number of items per page of the results
1 <= valuePage number of the results
1 <= valueHeader Parameters
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" \ -H "x-whitelabel-host: string"[
{
"_id": "66a1390268a76f2f5c9f39a3",
"creator": "77b2390268a76f2f5c9f39a4",
"title": "Introduction to Coding",
"price": 500,
"currency": "USD",
"inr": 500,
"usd": 6,
"eur": 5,
"description": "This is a comprehensive guide to coding.",
"isHidden": false,
"isDeleted": false,
"recurringType": "MONTHLY",
"isPublic": false,
"isFree": true,
"affiliateEnabled": true,
"zeroCostMango": false,
"createdAt": "2024-08-11T10:20:30Z",
"updatedAt": "2024-08-11T10:20:30Z"
}
]{
"code": 400,
"type": "Bad request",
"statusMessage": "BAD_REQUEST",
"message": "Invalid request",
"success": false
}{
"code": 401,
"type": "Unauthorized",
"statusMessage": "UNAUTHORIZED",
"message": "Invalid token",
"success": false
}Update App Configurations PATCH
Update app configurations for host. - This endpoint can be used to update app configurations for a host. - It can be used to update allowed mangoes for an app. :::warning - Currently only supports these apps levelup, universe, crm, flute, sparks, tm-ai-cofounder. - These apps must be installed to the dashboard first before accessing this endpoint. - Any custom app added from Dashboard will not be supported. - Passing empty array will remove all allowed mangoes for the app, so update the allowed mangoes carefully. :::
Get Mango Subscriptions Count GET
Get subscription count for each mango or filtered mangoes from query params. - Currently only active and manually active subscriptions from dashboard are counted.