Galya Docs
API referenceentity/type

Create a custom entity type

POST
/entity/type

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

entity_type*string

The new entity type name to create.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/entity/type" \  -H "Content-Type: application/json" \  -d '{    "entity_type": "string"  }'
{
  "success": true
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}