Get logs for specific message in user domain
const url = 'https://smtp-app.kirim.email/api/domains/example.com/log/550e8400-e29b-41d4-a716-446655440000';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://smtp-app.kirim.email/api/domains/example.com/log/550e8400-e29b-41d4-a716-446655440000 \ --header 'Authorization: Basic <credentials>'Retrieve all logs for a specific message in a domain owned by the authenticated user
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
example.comDomain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.
Example
550e8400-e29b-41d4-a716-446655440000Message GUID
Responses
Section titled “Responses”Success
object
Array of log entries for the specific message in the user’s domain
Email log entry
object
Unique identifier for the log entry
GUID of the user who sent the email
GUID of the domain used to send the email
Type of email event (sent, delivered, bounced, opened, clicked, etc.)
Unique identifier for the email message
Unix timestamp when the event occurred
Example
{ "data": [ { "id": "log-id-123", "user_guid": "user-guid-123", "user_domain_guid": "domain-guid-456", "event_type": "delivered", "message_guid": "550e8400-e29b-41d4-a716-446655440000", "timestamp": 1640995200 } ]}Headers
Section titled “Headers”Maximum requests per minute
Remaining requests in current window
Bad Request - User authentication missing
object
Example
{ "error": "User authentication missing"}Unauthorized - Invalid or missing authentication
object
Example
{ "error": "Unauthorized"}Not Found - Domain or log not found
object
Example
{ "error": "Domain not found or you do not own this domain"}Too Many Requests - Rate limit exceeded. Retry after the specified time.
object
Example
{ "success": false, "message": "Too many attempts. Please try again later."}Headers
Section titled “Headers”Seconds until rate limit resets
Maximum requests per minute
Remaining requests in current window
Server Error - Unexpected error occurred
object
Example
{ "error": "Unknown error"}