How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Affinity opportunities API

Operations about opportunities

Affinity opportunities API is one of 11 APIs that Affinity publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Opportunities. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 45 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.affinity.co.

3 operations 3 paths 45 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.affinity.co
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Affinity opportunities API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

opportunities 3

Operations about opportunities

GET
/v2/opportunities
Get all Opportunities
v2_opportunities__GET 3 params → 200400403404default
GET
/v2/opportunities/{opportunityId}
Get a single Opportunity
v2_opportunities_opportunityId__GET 1 param → 200400403404default
GET
/v2/opportunities/{opportunityId}/notes
Get Notes for an Opportunity
v2_opportunities_opportunityId_notes__GET 5 params → 200400404default

Schemas 45

The contract defines 45 schemas that model the data the API accepts and returns. The most detailed are notes.BaseNote (6 properties), PersonData (5 properties), notes.BaseRootNote (5 properties), ValidationError (3 properties). Each schema is shown below with its type and property counts.

ServerError
object
2 properties 2 required
AuthorizationError
object
2 properties 2 required
notes.EntitiesNote
object
A Note object attached to an entity (Person, Company, Opportunity)
1 property 1 required
notes.BaseRootNote
object
A root note
5 properties
notes.PermissionSettings
object
The permission settings of a note
2 properties 2 required
notes.CallInteraction
object
This is a Call (Event) object attached to a note
2 properties 2 required
notes.PersonsPreview
object
A preview for attached Persons on a Note
2 properties
notes.ChatMessageInteraction
object
A ChatMessage object attached to a note
2 properties 2 required
CompanyData
object
3 properties 3 required
MethodNotAllowedError
object
2 properties 2 required
UnsupportedMediaTypeError
object
2 properties 2 required
notes.PersonMention
object
A person mentioned in a note.
3 properties 3 required
notes.EmailInteraction
object
This is an Email object attached to a note
2 properties 2 required
NotAcceptableError
object
2 properties 2 required
NotFoundError
object
2 properties 2 required
NotImplementedError
object
2 properties 2 required
notes.MeetingInteraction
object
This is a Meeting (Event) object attached to a note
2 properties 2 required
notes.BaseNote
object
An abstract base class for notes
6 properties 6 required
notes.NotesPaged
object
NotesPaged model
2 properties 2 required
notes.CompaniesPreview
object
A preview for attached Companies on a Note
2 properties
Pagination
object
2 properties
notes.UserReplyNote
object
A reply to a note created by a user
1 property 1 required
notes.AiNotetakerReplyNote
object
A reply to a Note, created by an AI Notetaker
2 properties 1 required
UnprocessableEntityError
object
2 properties 2 required
notes.OpportunitiesPreview
object
A preview for attached Opportunities on a Note
2 properties
OpportunityPaged
object
OpportunityPaged model
2 properties 2 required
notes.AiNotetakerRootNote
object
A Root Note object created by the AI Notetaker
2 properties 1 required
Errors
object
1 property 1 required
notes.InteractionNote
object
A Note object attached to an interaction (Email, Meeting, Call, ChatMessage)
2 properties 2 required
notes.Content
object
A note content
1 property 1 required
ConflictError
object
2 properties 2 required
PersonData
object
5 properties 5 required
notes.Mention
A mention in a note.
PaginationWithTotalCount
object
1 property
AuthorizationErrors
object
AuthorizationErrors model
1 property 1 required
ValidationError
object
3 properties 3 required
Error
notes.BaseReply
object
An abstract base class for note replies, either of a UserNoteReply or AiNotetakerNoteReply
1 property 1 required
RateLimitError
object
2 properties 2 required
AuthenticationError
object
2 properties 2 required
NotFoundErrors
object
NotFoundErrors model
1 property 1 required
BadRequestError
object
2 properties 2 required
Opportunity
object
Opportunity model
3 properties 3 required
notes.Interaction
An interaction attached to a Note. It can be a Meeting, a Call or an ChatMessage.
notes.Note
Note model

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

affinity-opportunities-api-openapi.yml Raw ↑

Other APIs Affinity publishes across the network.

Affinity API V1
Affinity auth API
Affinity companies API
Affinity companyMerges API
Affinity emails API
Affinity lists API
Affinity meetings API
Affinity notes API
Affinity personMerges API
Affinity persons API
Where this information came from

This is an independent, third-party profile of Affinity opportunities API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.