Overview
GET
/account/contactscontactsList the caller's contact methods (email + phone)
List contacts.
Auth: bearerAuth — calls run as the authenticated user.
Responses
200
The caller’s contact methods
- itemsContactMethod[]
Example
{
"items": [
{
"id": "string",
"type": "email",
"value": "string",
"verified": true,
"isPrimary": true,
"createdAt": "string"
}
]
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/account/contacts" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/account/contacts", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();