Skip to main content
POST
Import user locations

Headers

Content-Type
string
required

Multipart boundary MUST be set in the Content-Type header.

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Query Parameters

create
boolean
required

Use false to simulate the import and true to create the User Locations. If you simulate you will be able to use analysis and if you create, you could use results.

overrideUserLocations
boolean
required

Use true to replace current User Locations with new one. Use false to create/simulate User Locations just for day without UserLocations.

Body

multipart/form-data

Content of the CSV file to import. Divided by the 'boundary' string set in the Content-Type HTTP header.

Example of a single file request body:

The body is of type object.

Response

200 - application/json

OK

summaryId
string<uuid>
Example:

"51564472-08cc-4410-94cc-a2b67f77f980"