TagMangoTagMango Docs
Mango

Get Mangoes

GET
/api/v1/external/mangos

Get all mangoes created by creator

AuthorizationBearer <token>

In: header

Query Parameters

limit?number

Number of items per page of the results

Range1 <= value
page?number

Page number of the results

Range1 <= value

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" \  -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
}