# Create new field

# HTTP method: POST

https://api.sender.net/v2/fields

To create a new field, specify both title and field type.

title string required

Name of the new field

type string required

The value must be one of the following: "number", "text", or "datetime".

Code snippets

Response example

{
  "success": true,
  "message": "Field successfully created",
  "data": {
    "id": "epxZye",
    "title": "New text field",
    "account_id": "eEqqve",
    "user_id": "egp79a",
    "created": "2022-06-02 10:12:25",
    "modified": "2022-06-02 10:12:25",
    "type": "text",
    "show": 0,
    "field_name": "{$new_text_field}",
    "position": 0,
    "default": false
  }
}