List Parties
Retrieves a list of all parties within an organization.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | Required | Organization ID (prefix: org_) |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Maximum items to return (max 100) |
offset | integer | 0 | Number of items to skip |
type | string | - | Filter by type: INDIVIDUAL or ORGANIZATION |
search | string | - | Filter by name (partial match) |
Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
data | array | List of party objects |
data[].id | string | Party identifier (prefix: pty_) |
data[].type | string | INDIVIDUAL or ORGANIZATION |
data[].name | string | Party display name |
data[].email | string | Primary contact email |
data[].externalRef | string | External identifier |
data[].metadata | object | Custom attributes |
meta.total | integer | Total parties matching query |
meta.page | integer | Current page number |
meta.hasMore | boolean | Whether more results exist |
Error Handling
| Status | Condition |
|---|---|
401 | Missing or invalid API key |
404 | Organization not found |