Fetch Organisation Contacts Api
curl --request GET \
--url https://services.meetchase.ai/api/v1/contacts \
--header 'X-API-Key: <api-key>'import requests
url = "https://services.meetchase.ai/api/v1/contacts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://services.meetchase.ai/api/v1/contacts', 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://services.meetchase.ai/api/v1/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://services.meetchase.ai/api/v1/contacts"
req, _ := http.NewRequest("GET", url, nil)
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://services.meetchase.ai/api/v1/contacts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://services.meetchase.ai/api/v1/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"custom_data": {
"age": 31,
"department": "Sales",
"role": "Sales Representative"
},
"dnc": false,
"email": "alice@example.com",
"first_name": "Alice",
"id": 1,
"last_name": "Dowden",
"tags": [
"finance",
"manager",
"technology"
],
"timezone": "Europe/London"
}
]Contacts
Fetch Contacts
Retrieves a list of all contacts associated with a specified organisation, including their personal and location information.
Path Parameters
organisation_id(int): The ID of the organisation whose contacts are being fetched.
Headers
X-API-Key: API key for user authentication.
Response
- Returns a list of
Contactobjects, each representing a contact associated with the organisation. Each object includes the contact’s ID, email, first name, last name, custom data, and timezone.
Errors
403 Forbidden: If the user does not have the necessary permissions to access the contacts of the organisation.
GET
/
api
/
v1
/
contacts
Fetch Organisation Contacts Api
curl --request GET \
--url https://services.meetchase.ai/api/v1/contacts \
--header 'X-API-Key: <api-key>'import requests
url = "https://services.meetchase.ai/api/v1/contacts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://services.meetchase.ai/api/v1/contacts', 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://services.meetchase.ai/api/v1/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://services.meetchase.ai/api/v1/contacts"
req, _ := http.NewRequest("GET", url, nil)
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://services.meetchase.ai/api/v1/contacts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://services.meetchase.ai/api/v1/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"custom_data": {
"age": 31,
"department": "Sales",
"role": "Sales Representative"
},
"dnc": false,
"email": "alice@example.com",
"first_name": "Alice",
"id": 1,
"last_name": "Dowden",
"tags": [
"finance",
"manager",
"technology"
],
"timezone": "Europe/London"
}
]Authorizations
Key used to authenticate user API requests.