Affinity integration (Productivity, Data). Imported from open-connector.
https://api.affinity.co/v2/auth/whoami
/v2/persons
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
| ids | array | optional | The Affinity person IDs to fetch directly. |
| fieldIds | array | optional | The field IDs for which to return person field data. |
| fieldTypes | array | optional | The field types for which to return person field data. |
/v2/persons/{personId}
| Param | Type | Required | Description |
|---|---|---|---|
| personId | integer | required | The Affinity person ID. |
| fieldIds | array | optional | The field IDs for which to return person field data. |
| fieldTypes | array | optional | The field types for which to return person field data. |
/v2/persons/fields
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/persons/{personId}/lists
| Param | Type | Required | Description |
|---|---|---|---|
| personId | integer | required | The Affinity person ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/persons/{personId}/list-entries
| Param | Type | Required | Description |
|---|---|---|---|
| personId | integer | required | The Affinity person ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/companies
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
| ids | array | optional | The Affinity company IDs to fetch directly. |
| fieldIds | array | optional | The field IDs for which to return company field data. |
| fieldTypes | array | optional | The field types for which to return company field data. |
/v2/companies/{companyId}
| Param | Type | Required | Description |
|---|---|---|---|
| companyId | integer | required | The Affinity company ID. |
| fieldIds | array | optional | The field IDs for which to return company field data. |
| fieldTypes | array | optional | The field types for which to return company field data. |
/v2/companies/fields
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/companies/{companyId}/lists
| Param | Type | Required | Description |
|---|---|---|---|
| companyId | integer | required | The Affinity company ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/companies/{companyId}/list-entries
| Param | Type | Required | Description |
|---|---|---|---|
| companyId | integer | required | The Affinity company ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/opportunities
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
| ids | array | optional | The Affinity opportunity IDs to fetch directly. |
/v2/opportunities/{opportunityId}
| Param | Type | Required | Description |
|---|---|---|---|
| opportunityId | integer | required | The Affinity opportunity ID. |
/v2/lists
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/lists/{listId}
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
/v2/lists/{listId}/fields
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/lists/{listId}/list-entries
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
| fieldIds | array | optional | The field IDs for which to return list entry field data. |
| fieldTypes | array | optional | The field types for which to return list entry field data. |
/v2/lists/{listId}/saved-views
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |
/v2/lists/{listId}/saved-views/{viewId}
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
| viewId | integer | required | The Affinity saved view ID. |
/v2/lists/{listId}/saved-views/{viewId}/list-entries
| Param | Type | Required | Description |
|---|---|---|---|
| listId | integer | required | The Affinity list ID. |
| viewId | integer | required | The Affinity saved view ID. |
| cursor | string | optional | The pagination cursor returned by Affinity. |
| limit | integer | optional | The number of items to include in the page. |