Custom fields

List

List all existing custom_fields

Parameters

Name Description
account_id required Your account unique identifier to access API.

Request

Route
GET 
/v2/account/:account_id/custom_fields
Headers
Accept: application/json 
Authorization: Token token={account.secret}

Response

Status
200
Body
{
  "custom_fields": [
    {
      "_id": "5853d8c2edb7aacab9000045",
      "name": "test_field_1",
      "label": "Test Field 1",
      "description": "Field 1 description",
      "type": "string"
    },
    {
      "_id": "5853d8c2edb7aacab9000046",
      "name": "test_field_2",
      "label": "Test Field 2",
      "description": "Field 2 description",
      "type": "boolean"
    },
    {
      "_id": "5853d8c2edb7aacab9000047",
      "name": "test_field_3",
      "label": "Test Field 3",
      "description": "Field 3 description",
      "type": "number"
    }
  ]
}