Autional Autional
API Reference GitHub autional.com →

POST /internal/communication/export-user-data

Export all communication logs and push token data of a user by user ID and tenant ID. Used for GDPR Article 15 (Right of Access) and Article 20 (Right to Data Portability) compliance responses. Internal endpoint, uses InternalAPIKeyAuth authentication. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.

Communication Service None application/json

Request Body

Schema: dto.ExportUserDataRequest

FieldTypeRequiredExampleConstraintsDescription
user_id string Yes usr_abc123

Responses

StatusDescriptionSchema
200Export successful, returns communication logs and push token datadto.ExportUserDataDetailResponse
400Invalid request parametersdto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.ExportUserDataDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ExportUserDataResponse No
message string No
timestamp string No

dto.ExportUserDataResponse

FieldTypeRequiredExampleConstraintsDescription
logs object No
tokens object No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No