GET /api/custom_fields

get a list of custom fields defined for the current community

Success Response Code: 200

Response Fields

custom_fields array of custom field entries Array<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 GET -v --basic -u "emily@socialcast.com:demo" https://demo.socialcast.com/api/custom_fields.json

Examples

GET 
200
{
  "custom_fields": [
    {
      "id": 1,
      "name": "favorite type of monkey",
      "order": 1
    }
  ]
}