v1
latestOpenAPI 3.0.02026-07-24161215397.4 KBVisits
Add new visit
Add new visit
Required scopes: flex.community.visits.create
post/api/v2/organizations/{orgSlug}/visits
Path parameters
orgSlugstring required
organization slug
Request body
Example request
{
"visitor": "603dfbc260f4054084125d34",
"location": "603dfbc260f4054084125d36",
"start": "2022-02-07T10:03:33.169Z",
"end": "2022-02-07T10:03:33.169Z",
"flowId": "603dfbc260f4054084125d34",
"member": "603dfbc260f4054084125d38"
}Response
Example response
{
"properties": {
"customProperty1": "value1",
"customProperty2": "value2"
},
"_id": "603dfbc260f4054084125d39",
"member": "603dfbc260f4054084125d38",
"visitor": "603dfbc260f4054084125d34",
"location": "603dfbc260f4054084125d36",
"start": "2022-02-07T10:03:33.169Z",
"end": "2022-02-07T10:03:33.169Z",
"receptionFlow": "603dfbc260f4054084125d34"
}