Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY

Params

Param name Description
asset_id
required

Asset ID

Validations:

  • Must be a String

Examples

// Successful request
GET /api/v2/assets/m8GgUcf7Yqgsraaw2OMF/custom_fields
200
{
  "custom_fields": {
    "1": {
      "1": "test_value"
    },
    "2": [
      {
        "cfg_id": 1,
        "2": "test_value"
      }
    ]
  }
}
// If asset is not found
GET /api/v2/assets/not-found-id/custom_fields
404
{
  "error": "asset not found"
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters