Skip to main content
GET
/
api
/
v1
/
reports
/
1p
/
download
Get first-party data export
curl --request GET \
  --url https://apix.us.amity.co/api/v1/reports/1p/download \
  --header 'Authorization: Bearer <token>'
{
  "status": "error",
  "code": 400000,
  "message": "Bad Request."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

dataType
enum<string>
required

The type of first-party data to retrieve. Specifies which data export to download.

Available options:
comments_last_90d,
communities,
community_members,
posts_last_90d,
reactions_last_90d,
roles,
users

Response

Redirect to URL for file download