Create an interaction
Changed onCreates a new interaction with a person or a company.
Request
- Base URLhttps://api.folk.app
- URLhttps://api.folk.app/v1/interactions
- AuthHTTP bearer
Headers
A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.
Request body
Example request
{
"entity": {
"id": "per_55175e81-9a52-4ac3-930e-82792c23499b"
},
"dateTime": "2025-07-17T09:00:00.000Z",
"title": "Coffee with John Doe",
"content": "Had a coffee with John Doe\nDiscussed the new project.",
"type": "☕️",
"activityType": "☕️"
}Response
The created interaction.
Example response
{
"data": {
"id": "lit_b049db09-c03d-4f32-96d6-d314760add5d",
"interactionType": "logged",
"from": {
"type": "user",
"value": "usr_14c18444-a0c7-459a-86b0-ccd70ebcd65c",
"name": "John Doe"
},
"to": {
"type": "person",
"value": "per_55175e81-9a52-4ac3-930e-82792c23499b",
"name": "John Doe"
},
"title": "Coffee with John Doe",
"content": "Had a coffee with John Doe\nDiscussed the new project.",
"entity": {
"id": "per_55175e81-9a52-4ac3-930e-82792c23499b",
"entityType": "person",
"fullName": "John Doe"
},
"dateTime": "2025-07-17T09:00:00.000Z",
"privacyLevel": "sharedFull",
"type": "coffee",
"activityType": "coffee"
},
"deprecations": [
"This field is deprecated"
]
}Changes
- breaking
added
subschema #1subschema #2to the/response propertyoneOflist for the response status - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the new
instagramenum value to the request property/ - info
added the new
instagramenum value to the request property/ - info
added the new
tiktokenum value to the request property/ - info
added the new
tiktokenum value to the request property/ - info
added the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added
subschema #3subschema #4to the/response propertyanyOflist for the response status - info
added
subschema #3subschema #4to the/response propertyanyOflist for the response status - info
removed
subschema #2subschema #3from the/response propertyanyOflist for the response status - info
removed
subschema #2subschema #3from the/response propertyanyOflist for the response status - info
the response property
/became required for the status - info
removed
subschema #1subschema #2from the/response propertyoneOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking