Truth or Dare Engine
Heavstal Game Engine provides random “Truth” questions or “Dare” challenges. It creates a fun, interactive experience for bots and games.
It returns the text challenge along with a thematic image URL to make the response visually appealing.
Endpoint
Section titled “Endpoint”POST /truth-dare
Request Parameters
Section titled “Request Parameters”| Field | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Select mode: ‘truth’ or ‘dare’. |
Example Usage
Section titled “Example Usage”const res = await fetch('https://heavstal.com.ng/api/v1/truth-dare', {method: 'POST',headers: { 'Content-Type': 'application/json', 'x-api-key': 'YOUR_API_KEY'},body: JSON.stringify({ type: 'dare'})});Successful Response
Section titled “Successful Response”{"status": "success","code": 200,"creator": "HEAVSTAL TECH","data": { "image": "https://files.catbox.moe/dare2.jpg", "type": "dare", "result": "Do 20 pushups immediately."}}