Get Contact
curl --request GET \
--url https://api.flowiq.live/contact \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flowiq.live/contact"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flowiq.live/contact', 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://api.flowiq.live/contact",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.flowiq.live/contact"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.flowiq.live/contact")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flowiq.live/contact")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"contact": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "John Doe",
"whatsapp_id": "27123456789",
"phone_number": "+27123456789",
"email": "john@example.com",
"tags": [
"customer",
"premium"
],
"organization_id": "org-uuid-here",
"bot_status": "active",
"allow_broadcast": true,
"archived": false,
"blocked": false,
"active_status": false,
"has_unread_messages": false,
"source": {
"type": "api",
"location": {},
"created_at": "2025-12-11T10:30:00Z"
},
"contact_summary": null,
"contact_summary_updated_at": null,
"created_at": "2025-12-11T10:30:00Z",
"updated_at": "2025-12-11T10:30:00Z"
}
}{
"error": "Missing required parameter",
"message": "phone_number (or whatsapp_id) query parameter is required"
}{
"error": "Invalid API key",
"message": "API key has been revoked"
}{
"error": "Contact not found",
"message": "No contact found with phone number 27123456789"
}{
"error": "Internal server error",
"message": "Unexpected error"
}Endpoints
Get Contact
Look up an existing contact in your organization by phone number.
GET
/
contact
Get Contact
curl --request GET \
--url https://api.flowiq.live/contact \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flowiq.live/contact"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flowiq.live/contact', 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://api.flowiq.live/contact",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.flowiq.live/contact"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.flowiq.live/contact")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flowiq.live/contact")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"contact": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "John Doe",
"whatsapp_id": "27123456789",
"phone_number": "+27123456789",
"email": "john@example.com",
"tags": [
"customer",
"premium"
],
"organization_id": "org-uuid-here",
"bot_status": "active",
"allow_broadcast": true,
"archived": false,
"blocked": false,
"active_status": false,
"has_unread_messages": false,
"source": {
"type": "api",
"location": {},
"created_at": "2025-12-11T10:30:00Z"
},
"contact_summary": null,
"contact_summary_updated_at": null,
"created_at": "2025-12-11T10:30:00Z",
"updated_at": "2025-12-11T10:30:00Z"
}
}{
"error": "Missing required parameter",
"message": "phone_number (or whatsapp_id) query parameter is required"
}{
"error": "Invalid API key",
"message": "API key has been revoked"
}{
"error": "Contact not found",
"message": "No contact found with phone number 27123456789"
}{
"error": "Internal server error",
"message": "Unexpected error"
}Basic Usage
curl -X GET "https://api.flowiq.live/contact?phone_number=27123456789" \
-H "Authorization: Bearer fiq_YOUR_API_KEY"
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
phone_number | string | Yes* | Phone number with country code |
whatsapp_id | string | Yes* | Normalized digits-only phone number |
phone_number or whatsapp_id — both formats are accepted.
Response
Success (200)
{
"success": true,
"contact": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"full_name": "John Doe",
"whatsapp_id": "27123456789",
"phone_number": "+27123456789",
"email": "john@example.com",
"tags": ["customer", "premium"],
"organization_id": "org-uuid-here",
"bot_status": "active",
"allow_broadcast": true,
"archived": false,
"blocked": false,
"active_status": false,
"has_unread_messages": false,
"source": { "type": "api" },
"contact_summary": null,
"contact_summary_updated_at": null,
"created_at": "2025-12-11T10:30:00Z",
"updated_at": "2025-12-11T10:30:00Z"
}
}
Error: Contact Not Found (404)
{
"error": "Contact not found",
"message": "No contact found with phone number 27123456789"
}
Integration Example
async function getContact(apiKey, phoneNumber) {
const url = new URL("https://api.flowiq.live/contact");
url.searchParams.set("phone_number", phoneNumber);
const response = await fetch(url.toString(), {
headers: { Authorization: `Bearer ${apiKey}` },
});
const data = await response.json();
if (!response.ok) throw new Error(data.message);
return data.contact;
}
Authorizations
Bearer token for authentication. Format: Bearer YOUR_BEARER_TOKEN
Query Parameters
Recipient phone number with country code (use this or whatsapp_id)
WhatsApp ID (normalized phone number, digits only)
⌘I

