Skip to main content
POST
/
public
/
export-visits
Export link visits data
curl --request POST \
  --url https://api.joylink.io/public/export-visits \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "start_date": "2024-01-01",
  "end_date": "2024-01-31"
}
'
{
  "download_url": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
start_date
string<date>
required

Start date for the export (inclusive)

Example:

"2024-01-01"

end_date
string<date>
required

End date for the export (inclusive)

Example:

"2024-01-31"

Response

Successfully triggered export

download_url
string

URL to download the exported CSV file