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

Create Deal Type

POST
/v1/deal-types

Creates a new deal Type.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

include?array<"statuses">

Additional fields to include in the response. Use repeated query syntax: include=foo&include=bar.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string

Human-readable name of the resource.

Length1 <= length
key?string

Stable key used to identify the resource.

Length1 <= length
emoji?|

Emoji value for this resource.

statuses?array<>

Statuses configured for the resource, in display order.

Items1 <= items

Response Body

application/json

curl -X POST "https://api.getmateo.com/v1/deal-types" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "key": "string",  "name": "string",  "emoji": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "statuses": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "key": "string",      "name": "string",      "type": "in_progress",      "idx": 9007199254740991    }  ]}