For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get available promotions

get
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Responses
200

OK

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
get/core/user/promo/available
GET /core/user/promo/available HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
{
  "code": 200,
  "data": [
    {
      "amount_type": "text",
      "amount_value": 1,
      "b2b": true,
      "b2c": true,
      "created_at": "text",
      "deletedAt": "text",
      "description": "text",
      "end_date": "text",
      "id": "text",
      "name": "text",
      "postpaid": true,
      "prepaid": true,
      "start_date": "text",
      "type": "text",
      "updated_at": "text",
      "voucher_id": "text"
    }
  ],
  "message": "Success"
}

Last updated