Create field

This request is used to create a new field inside your organisation.

POST https://api.eventgoose.com/v1/fields

Authentication

Authenticate yourself using your organisation api token

Parameters

name
string
required

The name of the field.

type
string
required

The input type of the field.

Must be one of the following values: text select multiselect boolean

options
array
optional

Add options to the field when the type is select or multiselect

Response

200 application/json

    HTTP/1.1 200 OK
Content-Type: application/json
    
{
    "id": "NnqZebOXBMzoyWGY",
    "name": {
        "clean": "Postal code",
        "slug": "postal_code"
    },
    "type": "text"
}