Get email logs

This method allows you to get logs for sent emails using their messageId. Email logs are available for the last 48 hours.

Please log in to see full path URL. Learn why.
get
/email/1/logs
Request rate limit:
60 requests / minute (per account)
query Parameters
messageId
string

The ID that uniquely identifies the sent email.

from
string

From email address.

to
string

The recipient email address.

bulkId
string

Bulk ID that uniquely identifies the request.

campaignReferenceId
string

The ID that allows you to track, analyze, and show an aggregated overview and the performance of individual campaigns.

generalStatus
string

Indicates whether the initiated email has been successfully sent, not sent, delivered, not delivered, waiting for delivery or any other possible status.

sentSince
string <date-time>
Example: sentSince=2021-01-02T01:00:00.123Z

Tells when the email was initiated. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.

sentUntil
string <date-time>
Example: sentUntil=2021-01-02T01:00:00.123Z

Tells when the email request was processed by Infobip.Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.

limit
integer <= 1000

Maximum number of logs.

applicationId
string

Application identifier used for filtering.

entityId
string

Entity identifier used for filtering.

Responses

200

OK

401

Unauthorized

403

Forbidden

429

Too Many Requests

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/email/1/logs?sentSince=2021-01-02T01%3A00%3A00.123Z&sentUntil=2021-01-02T01%3A00%3A00.123Z' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
application/json
Copy
Collapse all
{
  • "results":
    [
    • {
      • "applicationId": "string",
      • "entityId": "string",
      • "bulkId": "string",
      • "messageId": "string",
      • "to": "string",
      • "from": "string",
      • "text": "string",
      • "sentAt": "2021-01-02T01:00:00.123Z",
      • "doneAt": "2021-01-02T01:00:00.123Z",
      • "messageCount": 0,
      • "price":
        {
        • "pricePerMessage": 0,
        • "currency": "string"
        },
      • "status":
        {
        • "groupId": 0,
        • "groupName": "string",
        • "id": 0,
        • "name": "string",
        • "description": "string",
        • "action": "string"
        },
      • "error":
        {
        • "groupId": 0,
        • "groupName": "string",
        • "id": 0,
        • "name": "string",
        • "description": "string",
        • "permanent": true
        }
      }
    ]
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.