TrainFog Developers
Brands

Crea una marca

POST
/brands
AuthorizationBearer <token>

In: header

L'ID dello workspace è ereditato automaticamente dal contesto della richiesta API (es. autenticazione).

namestring
description?string

Response Body

application/json

application/json

application/json

curl -X POST "https://api.trainfog.com/developers/v1.0/brands" \  -H "Content-Type: application/json" \  -d '{    "name": "New brand name"  }'
{
  "id": "688874b1a08a60001dd72e1d",
  "name": "Test Brand",
  "createdAt": "2025-07-29T07:13:53.474Z",
  "updatedAt": "2025-07-29T07:13:53.474Z"
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}