cURL
curl --request GET \
--url https://business.pingmee.co.il/phone-numbers \
--header 'Cookie: <api-key>' \
--header 'x-api-key: <api-key>'import requests
url = "https://business.pingmee.co.il/phone-numbers"
headers = {
"Cookie": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Cookie: '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://business.pingmee.co.il/phone-numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://business.pingmee.co.il/phone-numbers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Cookie: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://business.pingmee.co.il/phone-numbers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Cookie", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://business.pingmee.co.il/phone-numbers")
.header("Cookie", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.pingmee.co.il/phone-numbers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Cookie"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"phoneNumbers": [
{
"id": "<string>",
"verified_name": "<string>",
"display_phone_number": "<string>",
"type": "<string>",
"associatedBusinessId": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}Misc
Get Phone Numbers
List connected WhatsApp phone numbers for the authenticated business. Call this before creating a workflow: if more than one number is returned, ask the user which one to bind. Copy the chosen row’s id into the workflow associatedToBusinessId (not associatedBusinessId, which is the WABA id) and set platformType. For a starter/outbound bot (or a named catalog template), pass the same id as phoneNumberId on GET /templates. Skip GET /templates for inbound reply bots (pingmeeTrigger) unless the user named a template. Facebook pages and Instagram accounts are not in this list. See /build-workflows/document (platform binding) and /build-workflows/overview.
GET
/
phone-numbers
cURL
curl --request GET \
--url https://business.pingmee.co.il/phone-numbers \
--header 'Cookie: <api-key>' \
--header 'x-api-key: <api-key>'import requests
url = "https://business.pingmee.co.il/phone-numbers"
headers = {
"Cookie": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Cookie: '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://business.pingmee.co.il/phone-numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://business.pingmee.co.il/phone-numbers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Cookie: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://business.pingmee.co.il/phone-numbers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Cookie", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://business.pingmee.co.il/phone-numbers")
.header("Cookie", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.pingmee.co.il/phone-numbers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Cookie"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"phoneNumbers": [
{
"id": "<string>",
"verified_name": "<string>",
"display_phone_number": "<string>",
"type": "<string>",
"associatedBusinessId": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}Connected WhatsApp numbers for the authenticated business. Use this before creating a workflow.
- Call this endpoint.
- If
phoneNumbershas more than one row, ask the user which number the bot should send from. - Copy that row’s
idinto the workflow’sassociatedToBusinessIdand setplatformTypetowhatsapp. Do not useassociatedBusinessId(that is the WABA id). - For a starter / outbound bot (or a named catalog template), pass the same
idasphoneNumberIdwhen fetching templates. Skip GET/templatesfor inbound reply bots unless the user named a template.
Authorizations
Last modified on September 4, 2026
Was this page helpful?