List Contacts
curl --request GET \
--url https://api.example.com/api/v1/contactsimport requests
url = "https://api.example.com/api/v1/contacts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"contacts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>",
"source": "<string>",
"is_opted_out": true,
"tags": [
"<string>"
],
"created_at": "<string>",
"name": "<string>",
"email": "<string>",
"whatsapp_name": "<string>",
"profile_picture_url": "<string>",
"source_details": "<string>",
"last_message_at": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}contacts
List Contacts
List contacts with filtering and pagination.
GET
/
api
/
v1
/
contacts
List Contacts
curl --request GET \
--url https://api.example.com/api/v1/contactsimport requests
url = "https://api.example.com/api/v1/contacts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"contacts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>",
"source": "<string>",
"is_opted_out": true,
"tags": [
"<string>"
],
"created_at": "<string>",
"name": "<string>",
"email": "<string>",
"whatsapp_name": "<string>",
"profile_picture_url": "<string>",
"source_details": "<string>",
"last_message_at": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Query Parameters
Required range:
1 <= x <= 100Required range:
x >= 0