---
title: "Look up a single message by id"
method: GET
path: "/get-sms/"
tags: ["Reporting"]
---

# Look up a single message by id

`GET /get-sms/`

## Request

- Base URL: `http://api.smsfusion.com.au`
- URL: `http://api.smsfusion.com.au/get-sms/`
- Auth: one of:
  - API key in query parameter `key`
  - HTTP basic

Single-recipient messages return a flat object. Multi-recipient messages omit the top-level dest/dlr/dlrdate and return a recipients array (one element per recipient) instead

## Query parameters

- `key` string, required
- `id` integer, required

## Response `200`

Successfull response

- MessageDetail: Single-recipient messages return dest/dlr/dlrdate at the top level. Multi-recipient messages omit those three keys and return a recipients array instead
  - `id` integer
  - `date` integer
  - `direction` string
  - `type` string
  - `source` string
  - `dest` string: Single-recipient only
  - `vanity` string
  - `msg` string
  - `cost` number, float
  - `currency` string
  - `segments` integer
  - `campaignid` integer
  - `dlr` string: Single-recipient only
  - `dlrdate` integer: Single-recipient only
  - `recipients` object[]: Multi-recipient only - one element per recipient; dlr/dlrdate null until a delivery report lands
    - `dest` string
    - `dlr` string
    - `dlrdate` integer

## Other responses

- `401`: FIELD_EMPTY
- `404`: Message not found or not owned

---

[API](https://skmtc.dev/smsfusion/apis/sms-fusion-api.md) · [All operations](https://skmtc.dev/smsfusion/apis/sms-fusion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smsfusion/apis/sms-fusion-api/revisions/a88b2793a6e9?raw)
