Download a completed personal data export.
GET
/api/user/data-export/{id}/download
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/user/data-export/example/download \ --header 'Authorization: Bearer <token>'Downloads the completed export owned by the authenticated user as JSON or CSV. The endpoint returns not_ready until asynchronous exports complete and expired when the export is no longer available.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Export file download. Returns application/json or text/csv depending on the export format.
Error response.
Media type application/json
object
error
string
message
string
error_description
string
error_code
Stable Authrim error category that can be provided to support.
string
error_id
Opaque occurrence identifier that can be provided to support for correlation.
string format: uuid
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
error_code
Stable Authrim error category that can be provided to support.
string
error_id
Opaque occurrence identifier that can be provided to support for correlation.
string format: uuid
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
error_code
Stable Authrim error category that can be provided to support.
string
error_id
Opaque occurrence identifier that can be provided to support for correlation.
string format: uuid
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}