Routes
Read the transport and current capabilities of your number.
HelloHop connects your number as a WhatsApp linked device. Every session object includes "route": "linked_device", including when the number is new, disconnected, or unlinked. The value describes the transport and does not guarantee that the number is connected or ready to send.
Read your number
Use your API key with the existing session path. API paths and existing response fields keep their meanings.
curl "https://api.hellohop.app/v1/sessions/<CHANNEL_ID>" -H "Authorization: Bearer <CHANNEL_TOKEN>"The response includes these additive fields alongside the number's existing fields:
{
"route": "linked_device",
"capabilities": ["messages", "groups", "communities", "contacts"]
}capabilities is a snapshot of the number's linked state and entitlements. Unknown, unlinked, disconnected, or stale observations return []. Each operation still validates its inputs and applies its current access checks and allowances. Read Your number and its health for the capability values and connection fields.