Skip to content

List logs for the authenticated account

GET
/logs
limit
number

Maximum number of logs to return (default

cursor
string

Pagination cursor for next page

Successful response

object
messages
required
Array<object>
object
trackingId
required
string
eventType
required
string
timestamp
required
string
epochMs
required
number
inbox
string
from
string
fromName
string
subject
string
to
Array<string>
cc
Array<string>
bcc
Array<string>
replyTo
string
bodyText
string
bodyHtml
string
attachments
Array<object>
object
filename
required
string
contentType
required
string
size
required
number
contentId
string
media

Inbound MMS attachments (includes contentType when available).

Array<object>
object
url
required
string
contentType
string
messageId
string
inReplyTo
string
references
string
resolutionType
string
Allowed values: reply builtin custom inbound
nextCursor
string

Bad Request - validation errors, invalid input

Standard error response for API errors.

object
trackingId
required

Unique tracking ID for the request.

string
error
required

Structured error details for API error responses.

object
code
required

Machine-readable error code.

string
message
required

Human-readable error message.

string
fix

Actionable hint for fixing the error.

string
provider

Provider that caused the error (e.g. telnyx, ses).

string
providerCode

Provider-specific error code.

string

Unauthorized

Payment Required - usage limits exceeded

Standard error response for API errors.

object
trackingId
required

Unique tracking ID for the request.

string
error
required

Structured error details for API error responses.

object
code
required

Machine-readable error code.

string
message
required

Human-readable error message.

string
fix

Actionable hint for fixing the error.

string
provider

Provider that caused the error (e.g. telnyx, ses).

string
providerCode

Provider-specific error code.

string

Internal Server Error

Bad Gateway - provider error

Standard error response for API errors.

object
trackingId
required

Unique tracking ID for the request.

string
error
required

Structured error details for API error responses.

object
code
required

Machine-readable error code.

string
message
required

Human-readable error message.

string
fix

Actionable hint for fixing the error.

string
provider

Provider that caused the error (e.g. telnyx, ses).

string
providerCode

Provider-specific error code.

string