Lists outbound SMS delivery records for the caller's scope, newest first, with cursor-based paging.
GET
/api/twilio/sms-log
deprecated
Requires: Twilio.SmsLog.View, merchant scope.
Each row is one outbound message and carries its current lifecycle status, updated in place as Twilio reports delivery progress. Tenant and merchant scoping is enforced server-side from the caller's operating context: merchant-scoped users see only their own merchant, while a caller holding `SmsLog.ViewAllMerchants` may target a specific merchant or leave the scope open. Recipient and sender numbers are returned masked to their last four digits; the full values never leave the server on this surface. Paging is cursor-based, not skip/take. Pass `NextContinuationToken` from the previous response back as `ContinuationToken`; a `null` token in the response means there are no further pages. Sorting supports the send timestamp only and defaults to newest first.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
MaxResultCount
required |
query | integer (int32) | Maximum rows per page. The app service caps this at 100. |
ContinuationToken
required |
query | string | Opaque cursor returned by a prior call. `null` for the first page. |
IncludeDeleted
required |
query | boolean | Disables the soft-delete filter. Honoured only for callers with the relevant permission. |
IncludeInactive
required |
query | boolean | Disables the IsActive filter. Honoured only for callers with the relevant permission. |
Sorting.Field
required |
query | string | |
Sorting.Descending
required |
query | boolean | |
Filter.Logic
required |
query | PhoenixAbpCoreDataFilteringFilterLogic | |
Filter.Rules
required |
query | array of PhoenixAbpCoreDataFilteringFilterRule | |
Filter.Groups
required |
query | array of PhoenixAbpCoreDataFilteringFilterGroup | |
MerchantId
required |
query | string (uuid) | Caller-requested merchant scope. Honoured only when the caller holds `SmsLog.ViewAllMerchants`; otherwise the app service substitutes the operating-context merchant. |
suppressNulls
required |
query | boolean | If true, omit properties with null values. |
Request body
application/json
, required
| Field | Type | Description |
|---|
This request body has no documented fields.
Responses
200 OK
| Field | Type | Description |
|---|
This response has no documented body fields.
403 Forbidden
| Field | Type | Description |
|---|
This response has no documented body fields.
401 Unauthorized
| Field | Type | Description |
|---|
This response has no documented body fields.
400 Bad Request
| Field | Type | Description |
|---|
This response has no documented body fields.
404 Not Found
| Field | Type | Description |
|---|
This response has no documented body fields.
501 Not Implemented
| Field | Type | Description |
|---|
This response has no documented body fields.
500 Internal Server Error
| Field | Type | Description |
|---|
This response has no documented body fields.
default The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. See the error-code reference in this document's description for the values `error.code` can take.
| Field | Type | Description |
|---|
This response has no documented body fields.
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.