Get All List Fields
Retrieve all subscriber fields (default and custom) for a specific list using its unique ID. Fields include metadata such as tag, label, type, visibility, and order.
๐งพ Get All List Fields
๐น HTTP Request
GET API-URL/lists/LIST-UNIQUE-ID/fields๐ธ URL Segments
Segment
Required
Description
๐ธ Query Parameters
Parameter
Default
Description
๐ Authorization Header
X-API-KEY: your-api-key-here๐ป PHP Example
// GET ALL ITEMS
$response = $endpoint->getFields('LIST-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';๐ฆ Sample JSON Response
Last updated