recordVisit
# recordVisit
POST
/people/{personId}/visits
const url = 'http://localhost:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1/visits';const options = { method: 'POST', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"accountId":"per_01j9x3k8m2q4r5s6t7v8w9y0z1","source":"hearth_pick"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1/visits \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "accountId": "per_01j9x3k8m2q4r5s6t7v8w9y0z1", "source": "hearth_pick" }'The member opened this person on a platform (deep link) or said “I checked in”.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”personId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
accountId
string
source
required
string
Responses
Section titled “Responses”Recorded.