GET
/
api
/
admin
/
deliveries
curl --request GET \
  --url http://localhost:3001/api/admin/deliveries/
{
  "workspaceId": "<string>",
  "items": [
    {
      "status": "<string>",
      "variant": {
        "type": "Sms",
        "provider": {
          "type": "Twilio",
          "sid": "<string>"
        },
        "to": "<string>",
        "body": "<string>"
      },
      "sentAt": "<string>",
      "updatedAt": "<string>",
      "journeyId": "<string>",
      "userId": "1043",
      "originMessageId": "<string>",
      "triggeringMessageId": "<string>",
      "templateId": "<string>"
    }
  ],
  "cursor": "<string>",
  "previousCursor": "<string>"
}

Query Parameters

workspaceId
string
required
fromIdentifier
string
toIdentifier
string
journeyId
string
userId

Unique identifier for the user. Should be the id of the user in your system. Only applicable to logged in users.

Example:

"1043"

channels
enum<string>[]
Available options:
Email
limit
number
cursor
string
from
string[]
to
string[]
statuses
string[]
templateIds
string[]
startDate
string
endDate
string
sortBy
Available options:
from
sortDirection
Available options:
Asc
groupId

Response

200 - application/json
Default Response
workspaceId
string
required
items
object[]
required
cursor
string
previousCursor
string