Skip to main content

URL
https://test-api.bvndle.com/api/v1/laas/badges
Base URL
https://test-api.bvndle.com/api/v1/laas
HTTP Method
POST
Authorization Header
Bearer ACCESS_TOKEN

Request Body:
nametypeDescription
namestringRequired
Name of the badge
descriptionstringRequired
The description of the badge
badgeIconfile or stringOptional
The Icon of the badge

cURL
curl --request POST
'https://test-api.bvndle.com/api/v1/laas/badges' \
--form 'name="dark ninja warrior"' \
--form 'description="Testing!!!"'

{
  "status": "success",
  "message": "badge created",
  "data": {
    "id": "855d98d9-274e-4bbd-b2a6-622ff0cdf9f8",
    "name": "dark ninja warrior",
    "description": "Testing!!!",
    "partner": {},
    "icon": null
  }
}