Create a Reminder
Changed onCreates a new Reminder. Exactly one of company, person, or opportunity must be provided.
The creator of the new reminder is the user associated with the API key.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/reminders
- AuthHTTP bearer
Request body
Example request
{
"owner": {
"id": 1
},
"content": "Follow up about the funding round",
"entity": {
"type": "company",
"id": 1
}
}Response
Created
Example response
{
"id": 1,
"content": "Follow up about the funding round",
"dueDate": "2026-06-01T17:00:00Z",
"creator": {
"id": 1
},
"owner": {
"id": 1
},
"completer": {
"id": 1
},
"company": {
"id": 1
},
"person": {
"id": 1
},
"opportunity": {
"id": 1
},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}Changes
- info
added
one-timerecurringmapping keys to the request discriminator - info
added
companypersonopportunitydiscriminator mapping keys to the//request property - info
added
companypersonopportunitydiscriminator mapping keys to the//request property - info
added
one-timerecurringmapping keys to the response discriminator for the response status - 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