Skip to main content

Request Body
nametypeDescription

cURL
curl --request POST
'https://test-api.bvndle.com/api/v1/laas/special-campaigns' \


--data '{
    "name": "New Special campaign",
    "description": "Test special campaign",
    "startDate": "2025-09-03",
    "endDate": "2025-12-15",
    "events": [
        {
            "eventType": "mission",
            "mission": {
                "name": "1K Yearly data purchase",
                "description": "Recharge data daily",
                "pointsReward": 1,
                "startDate": "2025-09-06",
                "endDate": "2025-12-15",
                "transactionPin": "1234",
                "badgeId": "34d48345-18ab-4ba0-b9b7-07a7bf767666",
                "requirements": [
                    "Finish your airtime",
                    "Recharge a new batch of airtime"
                ]
            }
        }
        // {
        //     "eventType": "raffle",
        //     "raffle": {
        //         "startDate": "2025-09-03",
        //         "endDate": "2025-09-10",
        //         "prizes": [
        //             {
        //                 "coin": 10,
        //                 "timeline": "daily"
        //             },
        //             {
        //                 "coin": 50,
        //                 "timeline": "weekly"
        //             },
        //             {
        //                 "coin": 100,
        //                 "timeline": "monthly"
        //             }
        //         ],
        //         "entryFees": [
        //             {
        //                 "type": "coin",
        //                 "fee": 2
        //             },
        //             {
        //                 "type": "airtime",
        //                 "fee": 10
        //             }
        //         ]
        //     }
        // },
        // {
        //     "eventType": "spinWheel",
        //     "spinWheel": {
        //         "maxSpins": -1,
        //         "name": "Another spin wheel",
        //         "entryFees": [
        //             {
        //                 "fee": 5,
        //                 "type": "coins"
        //             },
        //             {
        //                 "fee": 200,
        //                 "type": "airtime"
        //             }
        //         ]
        //     }
        // }
    ]
}'

{
  "status": "success",
  "message": "special campaign created successfully",
  "data": {
    "id": "7bf6fbf0-94a1-4d13-94f8-bd5eb045309d",
    "name": "New Special campaign",
    "description": "Test special campaign",
    "startDate": "2025-09-03",
    "endDate": "2025-12-15",
    "status": "active",
    "events": [
      {
        "id": "b0a01dc3-9c1d-4d6e-ae2a-5743fa1e3497",
        "spinWheel": {},
        "mission": {
          "id": "51eaebe9-9c70-4285-97b8-364166db6f9c",
          "name": "1k yearly data purchase",
          "description": "Recharge data daily",
          "pointsReward": 1,
          "startDate": "2025-09-06",
          "endDate": "2025-12-15",
          "createdAt": "2025-10-16T08:54:08.036Z",
          "updatedAt": "2025-10-16T08:54:08.036Z",
          "partner": {},
          "requirements": [
            "Finish your airtime",
            "Recharge a new batch of airtime"
          ],
          "badge": {
            "id": "34d48345-18ab-4ba0-b9b7-07a7bf767666",
            "name": "shadow ninja",
            "description": "Hello",
            "partner": {},
            "icon": null
          }
        },
        "raffle": {},
        "eventType": "mission",
        "createdAt": "2025-10-16T08:54:08.047Z",
        "updatedAt": "2025-10-16T08:54:08.047Z"
      }
    ],
    "createdAt": "2025-10-16T08:54:07.997Z",
    "updatedAt": "2025-10-16T08:54:07.997Z"
  }
}