dibales.ai - WhatsApp icon

dibales.ai - WhatsApp

Call the dibales.ai public API for WhatsApp (messages, sender actions, contacts).

Actions7

Contact → Get LID by Phone Number

AI-generated

Summary

Resolves a WhatsApp phone number (or chat ID) to its LID by calling the dibales.ai public API with a GET to /whatsapp/contacts/pn/{phoneNumber}.

Inputs

  • Phone Number (required) — Bare phone number (e.g. 628123456789) or chat ID format (628123456789@c.us). URL-encoded into the request path.
  • Additional Fields > Idempotency Key — Declared in the UI as an optional de-duplication header. The source for this operation does not send it: the GET request is built without headers, so it has no effect here.

Output shape

One output item per input item, containing the JSON body returned by the dibales.ai backend for the lookup (the LID mapping for the phone number). The item is paired to its input item.

The exact response fields are not defined in the node source; they pass through from the backend. An empty response body yields an empty JSON object. HTTP errors (4xx/5xx) throw a NodeApiError with the backend's error message, code and request_id. With Continue On Fail enabled, an item with error, description, httpCode and backend fields is emitted instead. Requires the dibalesAiApi credential.

Examples

Example 1: Look up the LID for a customer's phone number before matching it against incoming webhook events that use @lid identifiers.

Resource: Contact; Operation: Get LID by Phone Number; Phone Number: 628123456789

Example 2: Resolve LIDs for each row from a spreadsheet of phone numbers.

Resource: Contact; Operation: Get LID by Phone Number; Phone Number: {{ $json.phone }}@c.us

Links

Discussion