Create a custom field

post/fields

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/fields
  • Auth
    none required

Request body

namestring required

The field's name, which is also the form label

element'text' | 'textarea' | 'checkbox' | 'radio' | 'listbox' required

Form field type that should be displayed.

field_valuesstring

In the case of list boxes, etc, this should be a list of the options available

show_in_emailboolean

Whether or not to show the custom field in email notifications

formatstring

Validation constraints on this field

field_encryptedboolean

Whether the field should be encrypted. (This can cause issues if you change it after the field was created.)

help_textstring

Any additional text you wish to display under the new form field to make it clearer what the gauges should be.

Response

200

Changes