curl --request GET \
--url https://app.loops.so/api/v1/email-messages/{emailMessageId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"emailMessageId": "em_01hxyz",
"campaignId": "cmp_01hxyz",
"subject": "Big spring updates",
"previewText": "A quick look at what's new",
"fromName": "Loops",
"fromEmail": "hello@news.example.com",
"replyToEmail": "support@example.com",
"lmx": "<Email><Text>Hello world</Text></Email>",
"contentRevisionId": "rev_01hxyz",
"updatedAt": "2026-03-28T15:20:00.000Z"
}
Retrieve an email message, including its compiled LMX content.
curl --request GET \
--url https://app.loops.so/api/v1/email-messages/{emailMessageId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"emailMessageId": "em_01hxyz",
"campaignId": "cmp_01hxyz",
"subject": "Big spring updates",
"previewText": "A quick look at what's new",
"fromName": "Loops",
"fromEmail": "hello@news.example.com",
"replyToEmail": "support@example.com",
"lmx": "<Email><Text>Hello world</Text></Email>",
"contentRevisionId": "rev_01hxyz",
"updatedAt": "2026-03-28T15:20:00.000Z"
}
Documentation Index
Fetch the complete documentation index at: https://loops.so/docs/llms.txt
Use this file to discover all available pages before exploring further.
expectedRevisionId when
updating the message.400 Bad Request is returned for invalid emailMessageId, or if no sending
domain is configured.
A 404 Not Found is returned if the email message does not exist.
A 409 Conflict is returned when the email message uses MJML format or content cannot be parsed.
If the API key is invalid (or content API is not enabled for your team), a
401 Unauthorized is returned.
{
"success": true,
"emailMessageId": "em_01hxyz",
"campaignId": "cmp_01hxyz",
"subject": "Big spring updates",
"previewText": "A quick look at what's new",
"fromName": "Loops",
"fromEmail": "hello@news.example.com",
"replyToEmail": "support@example.com",
"lmx": "<Email><Text>Hello world</Text></Email>",
"contentRevisionId": "rev_01hxyz",
"updatedAt": "2026-03-28T15:20:00.000Z"
}
Was this page helpful?