contact_getCountryCode
Retrieves the country code from a WhatsApp contact ID. Provide the session ID and contact ID to get the numeric country code prefix.
Instructions
[Contact] Get the country code. Returns the contact's country code, (1541859685@c.us) => (1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | No | Unique WhatsApp ID for the contact | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |