StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/dashboard/bot/prompt-templates

POST
/admin/dashboard/bot/prompt-templates

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/admin/dashboard/bot/prompt-templates" \  -H "Content-Type: application/json" \  -d '{    "content": "string",    "isActive": true,    "name": "string"  }'
{  "content": "string",  "createdAt": "string",  "id": 0,  "isActive": true,  "name": "string",  "updatedAt": "string"}