Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Client → Get Number ID
AI-generatedSummary
Retrieve the WhatsApp ID for a given phone number
Inputs
- sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
- number (required) — Phone number in international format (without + sign). @c.us is appended automatically.
Output shape
an object containing a 'result' field with the registered WhatsApp ID string (e.g., '12345678@c.us')
If the number is not registered, result may be null; otherwise it returns the WhatsApp ID. Success status is indicated by the 'success' field in the response.
Examples
Example 1: Fetch WhatsApp ID for a known phone number
Select a session (e.g., 'rocstatus'), set Phone Number to '34612345678', then execute.