---
title: "Two-way message thread with one number"
method: GET
path: "/get-contact-activity/"
tags: ["Contacts"]
---

# Two-way message thread with one number

`GET /get-contact-activity/`

## Request

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

Most recent messages exchanged with one number, newest first by id. No pagination: only the most recent limit messages are reachable

## Query parameters

- `key` string, required
- `msisdn` string, required
- `limit` integer

## Response `200`

Successfull response

- ContactActivityItem[]
  - `id` integer
  - `date` integer
  - `direction` 'in' | 'out'
  - `source` string
  - `dest` string
  - `msg` string
  - `dlr` string: Delivery status; null when not applicable

## Other responses

- `401`: FIELD_EMPTY (no msisdn) or VALIDATION_FAILED (array-style msisdn)

---

[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)
