Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Instance → Get Phone Code

AI-generated

Summary

Retrieves the pairing code for a given phone number from the Zeda API instance.

Inputs

  • phone (required) — Phone number to get the pairing code for
  • requestOptions — Additional request options, such as batching settings
  • allowUnauthorizedCerts — Whether to accept SSL certificate errors
  • proxy — HTTP proxy URL, optionally including credentials
  • timeout — Request timeout in milliseconds

Output shape

an object containing a 'code' string field representing the phone pairing code

A successful response returns the code field; failures may return an error object with HTTP status information.

Examples

Example 1: Retrieve a pairing code for a phone number to authenticate a client

Phone: 5511999999999; Request Options: default; Allow SSL Issues: false; Proxy: empty; Timeout: 10000

Links

Discussion