AplasAplas API Reference

Create a style

POST
/style

Authorization

BearerAuth
AuthorizationBearer <token>

API authentication via Authorization: Bearer <your-api-key>. Obtain your API key from Config → API in the Aplas web app.

In: header

Request Body

application/json

The new style to create

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

curl -X POST "https://api.au.aplas.com/api/v2/style" \  -H "Content-Type: application/json" \  -d '{    "id": "id",    "name": "Style A",    "description": "A description of my style",    "mapId": "id_map"  }'
Empty
{
  "code": 500,
  "message": "Internal server error"
}