List directory entries
get
https://api.expiryedge.com/v1/getAllDirectoryEntriesany role (admin, editor or viewer)60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getAllDirectoryEntries' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Antwort
[
{
"id": "dir_6Hv3",
"name": "Contoso Legal",
"type": "Vendor",
"customType": "",
"phone": "+15550198765",
"email": "billing@contosolegal.example",
"address": "400 Market St, Springfield",
"notes": "Outside counsel for licensing.",
"typedFields": {
"website": "https://contosolegal.example"
},
"customFields": [
{
"label": "Account number",
"value": "CL-2231"
}
],
"organization_id": "org_northwind",
"user_id": "u_71bXq",
"createdAt": "2026-09-27T14:05:00.000Z",
"updatedAt": "2026-09-27T14:05:00.000Z"
}
]Returns every directory entry in the organization as a bare array, newest first. Unbounded; no filters.
200
Array of entries (empty when none).
namestringRequired on create.typestringOne of Person, Company, Vendor, Client, Partner, Asset, Property, Other. Defaults toPerson.customTypestringCustom type label; kept only whentypeisOther.phonestringemailstringaddressstringnotesstringtypedFieldsobjectType-specific fields as key -> value (e.g.website).customFieldsarray of objectsFree-form label/value pairs; items without a label are dropped.idstringschreibgeschütztorganization_idstringschreibgeschütztuser_idstringschreibgeschütztCreator's user id.createdAtstringUTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).format: date-timeupdatedAtstringUTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).format: date-time
401 | Missing, expired or invalid bearer token. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
