Preview the calling list
curl --request GET \
--url https://api.pineyard.ai/campaigns/{id}/contacts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/campaigns/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/campaigns/{id}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"columns": [
"<string>"
],
"rowCount": 123,
"preview": [
{}
]
}Contacts
Preview the calling list
Read a saved campaign’s calling list back: columns, row count and a few sample rows
GET
/
campaigns
/
{id}
/
contacts
Preview the calling list
curl --request GET \
--url https://api.pineyard.ai/campaigns/{id}/contacts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/campaigns/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/campaigns/{id}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"columns": [
"<string>"
],
"rowCount": 123,
"preview": [
{}
]
}
