I use an undocumented preview API to render email preview.
POST /guide/v1/emails/<emailID>/dataExtension/<DE-Key>/rows/<rowId>/preview?kind=html
To render preview I need to specify exact DataExtension and its row
The problem is with getting an identifier of this row - none of the APIs I know return row Id
I try with SOAP for DataExtensionObject - but it never returns neither ObjectId nor CustomerKey - they are always null, and it doesn't allow to specify these properties for retrieve
I also try undocumented GET /data/v1/customobjectdata/key/<DE-Key>/rowset
but it also doesn't return id's
When I generate preview from the browser I see that UI goes to some internal endpoint:
/fuelapi/data-internal/v1/customObjectData/<DE-Key>?showKey=true
identifiers from this endpoint work for preview, but I get 401 Unauthorized
for s2s credentials when I call /data-internal/
endpoint
Is there any other way to get a row identifier or point to a row for preview in another way?