cURL
curl --request GET \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/newsletter/metadata/{newsletterId} \ --header 'Client-Token: <api-key>'
{ "id": "<string>", "creationTime": 123, "state": "<string>", "name": "<string>", "description": "<string>", "subscribersCount": "<string>", "inviteLink": "<string>", "verification": "<string>", "picture": "<string>", "preview": "<string>", "viewMetadata": { "mute": "<string>", "role": "<string>" } }
Returns the channel metadata with all information
Show Properties
{ "id": "999999999999999999@newsletter", "creationTime": 1695124988, "state": "ACTIVE", "name": "Channel name", "description": "Description", "subscribersCount": "150", "inviteLink": "https://whatsapp.com/channel/...", "verification": "VERIFIED", "picture": "https://...", "preview": "https://...", "viewMetadata": { "mute": "OFF", "role": "OWNER" } }