All Affinity API endpoints use the base URL https://api.affinity.co. All v2 endpoint paths start
with /v2. Requests must be sent over HTTPS.
The first few sections of these docs cover general information on the API. Each subsequent section
covers a set of API endpoints.
Each endpoint is documented with its accepted request parameters, expected response shapes, and a
sample request and response. The shape of a given response can vary depending on what “type” of
object or data is being returned. When this is the case, the response documentation will include a
dropdown that can be used to select the “type” for which to display the response shape.