Release Candidate — the API is undergoing final validation before general availability, and minor changes may still occur.
Hellomateo API Documentation
Custom Entities

Create Custom Entity Definition

POST
/v1/custom-entity-definitions

Creates a new custom Entity Definition.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

key*string

Stable key used to identify the definition.

name*string

Human-readable name of the definition.

Length1 <= length
schema*

JSON Schema used to validate custom entity data.

Response Body

application/json

curl -X POST "https://api.getmateo.com/v1/custom-entity-definitions" \  -H "Content-Type: application/json" \  -d '{    "key": "string",    "name": "string",    "schema": {      "property1": null,      "property2": null    }  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "key": "string",  "name": "string",  "schema": {    "property1": null,    "property2": null  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}