curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/emails \
--header 'Authorization: Bearer <token>'{
"data": [
{
"from": "<string>",
"id": 123,
"inserted_at": "2023-11-07T05:31:56Z",
"message_id": "<string>",
"order_id": 123,
"status": "<string>",
"status_history": [
{
"status": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"subject": "<string>",
"to": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"is_paginated": false
}Requires the order:list machine scope. Get list of emails sent for an order.
curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/emails \
--header 'Authorization: Bearer <token>'{
"data": [
{
"from": "<string>",
"id": 123,
"inserted_at": "2023-11-07T05:31:56Z",
"message_id": "<string>",
"order_id": 123,
"status": "<string>",
"status_history": [
{
"status": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"subject": "<string>",
"to": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"is_paginated": false
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.