Skip to content

List group texts

GET
/logs/group-texts
curl --request GET \
--url https://api.pingram.io/logs/group-texts \
--header 'Authorization: Bearer <token>'

List group texts for this account, newest first. Each row includes the numbers, the text, and when each number was delivered or failed.

Authorizations

Parameters

Query Parameters

limit
number

Maximum number of group texts to return (default 25, max 50)

cursor
string

Pagination cursor from a previous response

Responses

200

Successful response

Media typeapplication/json

Response for GET /logs/group-texts.

object
logs
required

Group texts, newest first.

Array<object>

One group text, outbound or inbound. Times are facts. A later failure does not erase a delivery.

object
trackingId
required

Tracking id of this group text.

string
direction
required

Whether this row is a send or a message someone typed.

string
Allowed values: outbound inbound
from
required

Sending number, or the number that typed an inbound message.

string
participants
required

The other numbers, in the order they were sent.

Array<string>
text

Text that was sent or received.

string
subject

Subject shown with an outbound group text.

string
media

Pictures or files attached to this group text.

Array<string>
cost

Sum of the per-recipient multimedia message price.

number
type

Notification type from the send.

string
sentAt

When the send was accepted.

string
deliveredAt

When the first number was delivered.

string
failedAt

When the send was rejected.

string
failureCode

Why the send was rejected.

string
failure_internal

Extra detail for support. Omitted for other callers.

string
recipientDeliveredAt

When each number was delivered.

object
key
additional properties
string
recipientFailedAt

When each number failed.

object
key
additional properties
string
recipientFailureCode

Why each number failed.

object
key
additional properties
string
ourNumber

Number on your account that is in an inbound group text.

string
receivedAt

When an inbound message arrived.

string
nextCursor

Pass this as cursor to load the next page.

string
Example
{
"logs": [
{
"direction": "outbound"
}
]
}

400

Bad Request - validation errors, invalid input

Media typeapplication/json

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
Examplegenerated
{
"trackingId": "example",
"error": {
"code": "example",
"message": "example",
"fix": "example"
}
}

401

Unauthorized

402

Payment Required - usage limits exceeded

Media typeapplication/json

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
Examplegenerated
{
"trackingId": "example",
"error": {
"code": "example",
"message": "example",
"fix": "example"
}
}

500

Internal Server Error

502

Bad Gateway - provider error

Media typeapplication/json

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
Examplegenerated
{
"trackingId": "example",
"error": {
"code": "example",
"message": "example",
"fix": "example"
}
}