Fields Endpoints

Fields Endpoints (v1)

Get list of fields for one or more email`s lists
  • URL

    /api/v1/fields

  • Method:

    POST

  • Data Params

    Required:

    lists=[string]

  • Response Examples:

    • Code: 200
      Content:

      {                                                                                                                                              
        "error": 0,
        "msg": "OK",
        "errors": [],
        "data": [
            "Available fields: age,name,address"
        ]
      }
      
    • Code: 401
      Content:

      {
        "error": 1,
        "msg": "Error",
        "errors": [
            "Lists parameter is wrong. It must be a number or an array"
        ],
        "data": []
      }