Channel metadata
Newsletter
Channel metadata
Returns the channel metadata with all information
GET
Channel metadata
Overview
This method returns the channel metadata with all the channel information and its view settings.Attributes
Header
string
required
Your instance ID. Available in the Z-API panel under Instances.
string
required
Your Z-API instance token.
Path
string
required
Channel ID
Query Parameters
boolean
When sent as
true, includes the subscribers field in the response with the channel’s list of subscribers. Default value is false.Response
200
string
Channel ID
number
Channel creation timestamp
string
Channel state (ACTIVE or NON_EXISTING)
string
Channel name
string
Channel description
string
Number of channel subscribers
string
Channel invite link
string
Verification status (VERIFIED or UNVERIFIED)
string
Channel image URL
string
Channel preview image URL
object
Channel view information
array
List with up to 9 channel subscribers. Only returned when the
mustGetSubscribers parameter is sent as true.The channel ID must always contain the @newsletter suffix, as this is the standard used by WhatsApp.
WhatsApp only returns subscribers who are in the requester’s contact list, and the requester must be an admin of the channel. In addition, this list returns at most 9 subscribers, the same limit shown on the channel info screen in WhatsApp Web. To get the complete list of subscribers, use the List channel subscribers endpoint.