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
Retrieve all the custom and default fields defined in a specific subscriber list.
๐น HTTP Request
GET API-URL/lists/LIST-UNIQUE-ID/fields๐ธ URL Segments
Segment
Required
Description
LIST-UNIQUE-ID
Yes
Unique identifier of the list.
๐ธ Query Parameters
Parameter
Default
Description
page
1
Current page number to retrieve.
per_page
10
Number of items to return per page.
๐ Authorization Header
Include your customer API key:
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