Export everything held about one contact (GDPR access request)
GET
https://emails.routeon.io/api/v1/contacts/{id}/export
The subject-access counterpart to POST /contacts/{id}/erase. Returns the contact record together with an exported_at stamp of when the copy was produced. events is present in the payload for forward compatibility and is currently always empty — per-contact delivery history lives in GET /messages and is not folded in here.
Parameters
id
string<uuid>
required
path
Responses
200
Contact data export
404
Resource not found within tenant scope
Example response · 200
{
"status": "success",
"http_code": 0,
"payload": {
"contact": {
"id": "00000000-0000-0000-0000-000000000000",
"email": "user@example.com",
"status": "subscribed",
"first_name": "string",
"last_name": "string",
"custom": [],
"consent_source": "string",
"consent_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
"events": [
[]
],
"smtp_inbound_messages": [
{
"id": "00000000-0000-0000-0000-000000000000",
"status": "string",
"size_bytes": 0,
"received_at": "2024-01-01T00:00:00Z",
"purged_at": "2024-01-01T00:00:00Z"
}
],
"exported_at": "2024-01-01T00:00:00Z"
},
"meta": []
}
Example response · 404
{
"status": "error",
"http_code": 0,
"payload": [],
"meta": {
"reason": "VALIDATION_ERROR",
"validation_error": [
{
"field": "string",
"message": "string"
}
],
"details": []
}
}