Notes
Get Opportunities attached to a Note
Changed onReturns directly attached opportunities for a given Note.
get/v2/notes/{noteId}/attached-opportunities
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/notes/{noteId}/attached-opportunities
- AuthHTTP bearer
Path parameters
noteIdinteger required
The id of the Note to get attached Opportunities
Query parameters
totalCountboolean
Include total count of the collection in the pagination response
cursorstring
Cursor for the next or previous page
limitinteger
Number of items to include in the page
Response
OK
Example response
{
"data": [
{
"id": 1,
"name": "Horizon Technologies Upsell $10k",
"listId": 1,
"listName": "Pipeline Q1 2024"
}
],
"pagination": {
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- info