POST /api/custom_fields

create a new custom field

Success Response Code: 201

Params

Param name Description
name
required

name of field


Value: Must be a String

Response Fields

custom_field newly created custom field CustomField
custom_field[id] custom field's numeric ID Integer
custom_field[name] name of the custom field (also the text displayed on the user's profile page) String
custom_field[order] the position in which this custom field should be displayed Integer

Example Curl Commands

curl -X POST -v --basic -u "administrator@socialcast.com:admin_password" https://demo.socialcast.com/api/custom_fields.json -H"Content-Type: application/json" -d '{"custom_field":{"name":"Languages that I speak","order":1}}'