📤 Chatting

Check number status

DEPRECATED. Use "POST /contacts/check-exists" instead

get/api/checkNumberStatus

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/checkNumberStatus
  • Auth: API key in header X-Api-Key

Query parameters

phonestring required
Example:1213213213

The phone number to check

sessionstring required

Response

chatIdstring
pnstring

Phone number id (@c.us). Can be null when only a @lid chatId is known

numberExistsboolean required

Example response

{
  "chatId": "Chat id for the phone number. Undefined if the number does not exist",
  "pn": "11111111111@c.us"
}

Changes

No recorded changes to this operation across all 1 revision of this API.