Custom Fields
Create Custom Field
Creates a new custom Field.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
description?|
Human-readable description of the resource.
entity?"appointment" | "contact" | "deal"
Entity value for this resource.
key*string
Stable key used to identify the resource.
Length
1 <= lengthname*string
Human-readable name of the resource.
Length
1 <= lengthtype*"boolean" | "date" | "datetime" | "number" | "string" | "string_list"
Type of the resource.
options?array<>|
Options value for this resource.
Response Body
application/json
curl -X POST "https://api.getmateo.com/v1/custom-fields" \ -H "Content-Type: application/json" \ -d '{ "key": "string", "name": "string", "type": "boolean" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "entity": "appointment", "key": "string", "name": "string", "type": "boolean", "options": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}