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

List Deal Types

GET
/v1/deal-types

Returns a paginated list of deal Types.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

key?string

Stable key used to identify the resource.

key[in]?string

Filters by any of the supplied key values.

status_type?string

Filters resources by status type.

status_type[in]?string

Filters by any of the supplied status type values.

status_key?string

Filters resources by status key.

status_key[in]?string

Filters by any of the supplied status key values.

limit?integer

Maximum number of resources to return.

Default10
Range0 <= value <= 100
page_token?string

Opaque token returned by a previous page request.

Length1 <= length
include?array<"statuses">

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

Response Body

application/json

curl -X GET "https://api.getmateo.com/v1/deal-types"
{  "object": "list",  "data": [    {      "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        }      ]    }  ],  "next_page_url": "string",  "previous_page_url": "string"}