List channels in a workspace
Returns every channel in the selected workspace, whatever its type: WhatsApp,
Instagram and Facebook channels come back in one list. Use id (ch_...) for
HookMyApp API calls and type to branch. The provider-specific fields of the
other providers are null: use whatsappDisplayPhoneNumber, instagramUsername
or facebookPageName for customer-facing labels. A Page and the Instagram
account linked to it are two channels; the Instagram one carries the Page in
metaPageId.
Authorizations
Authorization: Bearer hmok_... API key or a dashboard session token
Headers
Workspace ID for the request
^ws_[A-Za-z0-9]{8}$Response
Channels in the workspace
ch_ publicId
Channel type. messenger is a deprecated alias of facebook; servers emit facebook.
whatsapp, instagram, facebook, messenger ws_ publicId
Advanced Meta provider identifier. For WhatsApp this is the WABA ID.
For Instagram this is the Instagram account Graph ID. For Facebook this is
the Page ID. Use id (ch_...) for HookMyApp API calls and friendly fields
for display.
On an Instagram channel connected through a Facebook Page, the Page ID. Null on WhatsApp channels, on Facebook channels (their Page ID is metaResourceId) and on Instagram channels connected directly.
WhatsApp WABA ID, retained for compatibility. Null for non-WhatsApp channels.
Short-lived signed HookMyApp URL for the channel's profile picture. Fetch it soon after reading the response; mint a fresh one by re-reading the channel when it expires.
How the channel was connected: cloud_api or coexistence for WhatsApp, instagram_login for Instagram connected directly, facebook_login for a Facebook Page and the Instagram account linked to it.
Whether Meta currently appears connected for this channel. This is Meta health, not the HookMyApp lifecycle state.
HookMyApp lifecycle state. Use this to decide whether the channel is active in HookMyApp.
connected, disconnected, archived cred_ publicId