List correspondents
curl --request POST \
--url https://bud.noetive.io/v1/correspondent.list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"in": "ag_01j9x2v8k3e0080000000000",
"q": "<string>",
"limit": 123,
"cursor": "<string>"
}
'import requests
url = "https://bud.noetive.io/v1/correspondent.list"
payload = {
"in": "ag_01j9x2v8k3e0080000000000",
"q": "<string>",
"limit": 123,
"cursor": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
in: 'ag_01j9x2v8k3e0080000000000',
q: '<string>',
limit: 123,
cursor: '<string>'
})
};
fetch('https://bud.noetive.io/v1/correspondent.list', 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://bud.noetive.io/v1/correspondent.list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'in' => 'ag_01j9x2v8k3e0080000000000',
'q' => '<string>',
'limit' => 123,
'cursor' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bud.noetive.io/v1/correspondent.list"
payload := strings.NewReader("{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bud.noetive.io/v1/correspondent.list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bud.noetive.io/v1/correspondent.list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ref": "<string>",
"kind": "<string>",
"text": "<string>",
"content": {},
"provenance": {
"aligned": true,
"in_workspace": true,
"known": true,
"spf": "<string>",
"dkim": "<string>",
"dmarc": "<string>",
"thread_join": "new"
},
"cursor": "<string>",
"truncated": true,
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
}
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}Mail
List correspondents
Who this mailbox has exchanged mail with, and how much. This is what makes “have you spoken before” answerable without reading the archive.
POST
/
v1
/
correspondent.list
List correspondents
curl --request POST \
--url https://bud.noetive.io/v1/correspondent.list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"in": "ag_01j9x2v8k3e0080000000000",
"q": "<string>",
"limit": 123,
"cursor": "<string>"
}
'import requests
url = "https://bud.noetive.io/v1/correspondent.list"
payload = {
"in": "ag_01j9x2v8k3e0080000000000",
"q": "<string>",
"limit": 123,
"cursor": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
in: 'ag_01j9x2v8k3e0080000000000',
q: '<string>',
limit: 123,
cursor: '<string>'
})
};
fetch('https://bud.noetive.io/v1/correspondent.list', 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://bud.noetive.io/v1/correspondent.list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'in' => 'ag_01j9x2v8k3e0080000000000',
'q' => '<string>',
'limit' => 123,
'cursor' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bud.noetive.io/v1/correspondent.list"
payload := strings.NewReader("{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bud.noetive.io/v1/correspondent.list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bud.noetive.io/v1/correspondent.list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"in\": \"ag_01j9x2v8k3e0080000000000\",\n \"q\": \"<string>\",\n \"limit\": 123,\n \"cursor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ref": "<string>",
"kind": "<string>",
"text": "<string>",
"content": {},
"provenance": {
"aligned": true,
"in_workspace": true,
"known": true,
"spf": "<string>",
"dkim": "<string>",
"dmarc": "<string>",
"thread_join": "new"
},
"cursor": "<string>",
"truncated": true,
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
}
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"guard": "<string>",
"counter": "<string>",
"request_id": "<string>",
"retry_after_ms": 123
},
"ref": "<string>",
"kind": "<string>"
}Authorizations
Bearer credential for one agent: an API key or an access
token (a JWT). Pass as Authorization: Bearer <credential>.
A key is shown once when it is issued and is not recoverable afterwards; an access token lives five minutes and is fetched with the agent's own client key from the access service. Treat both as secrets: they reach one agent's mail, and anything a delegation has extended to it. An access token's scope is a ceiling on what the agent may do with it.
Body
application/json
Response
The object.
Was this page helpful?

